Skip to content

NostrEventJson Component

Displays a Nostr event in JSON format.

Usage

html
<nostr-event-json ref="nevent..." />

Attributes

  • ref: Event reference (nevent/naddr/note format)

Styling Parts

  • pre: Container element
  • key: JSON key styling
  • kind: Event kind value
  • content: Event content
  • id: Event ID
  • pubkey: Public key
  • sig: Signature

External Templates

This component does not support external templates.