Appearance
NostrRSVP Component
Displays information about a NIP-52 calendar event and allows the user to confirm their presence or not.
If NIP-07 window.nostr
isn't present https://github.com/fiatjaf/window.nostr.js will be included after the user clicks.
Usage
html
<nostr-rsvp ref="naddr..." />
Attributes
ref
: Event reference (naddr format)class
: CSS classes for styling
Styling Parts
container
: Main containertitle
: Event titletime
: Event timedescription
: Event descriptionbuttons
: RSVP buttons containerbutton
: Individual buttonaccepted
: Accepted button statetentative
: Tentative button statedeclined
: Declined button state
External Templates
This component does not support external templates.