Installation

How to install dependencies and structure your app.

For shadcn-svelte installation, visit the shadcn-svelte docs.

To use the components in your SvelteKit app, initialize shadcn-svelte, copy the :root, .dark, and @theme inline styles from src/routes/layout.css to your app’s layout.css.

You can then add components from this registry by running the npx shadcn-svelte add command from each component’s docs page.