@nostr-wot/ui
Reusable login controls and session UI
Installation
terminal
$npm install @nostr-wot/ui@2.0.0 nostr-tools
For a new integration, use the maintained imports below. Packages imported directly belong in your dependencies. Add React only for React entry points.
Topics
Login UI
LoginButton and useSession share the session provided by NostrSdkProvider. Supported methods include NIP-07, NIP-46, key generation, and key import. Install the UI package directly when importing its components and styles.
Login components and sessions
Choose inline or modal login and share a session across packages.
Themes and styling
Use CSS variables, theme presets or your own component classes.