You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: svelte/registry/README.md
+10-22Lines changed: 10 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
-
# @nostr/svelte Component Registry
1
+
# @ndk/svelte Component Registry
2
2
3
3
A comprehensive collection of beautiful, production-ready Svelte 5 components for building Nostr applications. Built on NDK and distributed through jsrepo.
4
4
5
-
## What is @nostr/svelte?
5
+
## What is @ndk/svelte?
6
6
7
-
The @nostr/svelte registry provides a curated set of UI components, hooks, utilities, and complete blocks specifically designed for Nostr applications. All components are:
7
+
The `@ndk/svelte` registry provides a curated set of UI components, builders, utilities, and complete blocks specifically designed for Nostr applications. All components are:
8
8
9
9
-**Svelte 5 Native** - Built from the ground up using Svelte 5 runes
10
10
-**NDK Powered** - Deep integration with [@nostr-dev-kit/svelte](https://github.com/nostr-dev-kit/ndk)
@@ -17,19 +17,13 @@ The @nostr/svelte registry provides a curated set of UI components, hooks, utili
17
17
The registry includes a comprehensive collection of components organized into categories:
18
18
19
19
-**🧱 Blocks** - Complete, ready-to-use UI sections like login interfaces and thread viewers
20
+
-**🛠️ Builders** - Reusable stateful primitives for composing Nostr interactions
20
21
-**🎨 Components** - Individual UI components for users, articles, events, hashtags, highlights, media, and more
21
22
-**🎯 UI Primitives** - Low-level, composable building blocks for custom layouts
22
-
-**🪝 Hooks** - Reactive hooks for common Nostr patterns
23
23
-**🛠️ Utilities** - Helper functions for formatting, parsing, and data manipulation
24
24
-**🎭 Icons** - Optimized Svelte icon components
25
25
26
-
To see all available components, run:
27
-
28
-
```bash
29
-
jsrepo info @nostr/svelte
30
-
```
31
-
32
-
Or browse the [component showcase](#) to see live examples and documentation for each component.
26
+
Browse the published registry at [jsrepo.com/@ndk/svelte](https://www.jsrepo.com/@ndk/svelte), or run the local showcase app to explore `/components` and `/docs/components`.
33
27
34
28
## Quick Start
35
29
@@ -52,7 +46,7 @@ bun add -g jsrepo
52
46
2.**Initialize jsrepo in your project**
53
47
54
48
```bash
55
-
jsrepo init @nostr/svelte
49
+
jsrepo init @ndk/svelte@latest
56
50
```
57
51
58
52
This creates a `jsrepo.config.ts` configuration file in your project.
0 commit comments