Skip to content

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 container
  • title: Event title
  • time: Event time
  • description: Event description
  • buttons: RSVP buttons container
  • button: Individual button
  • accepted: Accepted button state
  • tentative: Tentative button state
  • declined: Declined button state

External Templates

This component does not support external templates.