8.0k New

Registry

Run your own component registry.

Epicenter

Local-first, open source apps

Special Sponsor

You can use the shadcn-svelte CLI to create your own component registry. Creating your own registry allows you to distribute your own custom components, hooks, pages, and other files to any Svelte project.

Registry items are automatically compatible with the shadcn-svelte CLI.

Requirements

You are free to design and host your custom registry as you see fit. The only requirement is that your registry items must be valid JSON files that conform to the registry-item schema specification.

If you'd like to see an example of a registry, use the @shadcn-svelte/registry community add-on for sv:

pnpm dlx sv add @shadcn-svelte/registry

It scaffolds a SvelteKit-ready registry authoring setup (example components, registry.json, a CSS theme, and a build:registry script) into your project.