MCPcopy Index your code
hub / github.com/huntabyte/shadcn-svelte

github.com/huntabyte/shadcn-svelte @1.2.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.2.7 ↗ · + Follow
393 symbols 1,133 edges 1,035 files 17 documented · 4% updated 4d agoshadcn-svelte@1.2.7 · 2026-04-02★ 8,91365 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

shadcn-svelte

shadcn-svelte is an unofficial community-led Svelte port of shadcn/ui.

Note

We are not affiliated with shadcn, but we did get his blessing prior to creating this project

This is a project born out of the need for a similar project for the Svelte ecosystem.

Accessible and customizable components that you can copy and paste into your apps. Free. Open Source. Use this to build your own component library.

hero

Documentation

Visit https://shadcn-svelte.com/docs to view the documentation.

Sponsors

This project is supported by the following beautiful people/organizations:

Logos from Sponsors

License

Published under the MIT license. Built by @huntabyte, CokaKoala,and community 💛

Community

Join the Discord server to ask questions, find collaborators, or just say hi!

Svecosystem Discord community

Extension points exported contracts — how you extend this code

IDesignSystemState (Interface)
(no doc) [1 implementers]
docs/src/lib/features/design-system/components/design-system-provider-state.svelte.ts
BuildRegistryItem (Interface)
(no doc)
docs/scripts/build-registry.ts
ChartItem (Interface)
(no doc)
docs/src/routes/(app)/(layout)/charts/charts.ts
ChartGroups (Interface)
(no doc)
docs/src/routes/(app)/(layout)/charts/charts.ts
HighlightedBlock (Interface)
(no doc)
docs/src/routes/api/block/[block]/+server.ts
HighlightedFile (Interface)
(no doc)
docs/src/routes/api/block/[block]/+server.ts

Core symbols most depended-on inside this repo

resolvePath
called by 50
packages/cli/test/utils/test-helpers.ts
highlight
called by 45
packages/cli/src/utils/colors.ts
error
called by 31
packages/cli/src/utils/errors.ts
transformCss
called by 27
packages/cli/src/utils/transform-css.ts
createFontOption
called by 24
docs/src/lib/fonts.ts
decodePreset
called by 21
packages/cli/src/preset/preset.ts
encodePreset
called by 20
packages/cli/src/preset/preset.ts
toPosixPath
called by 17
packages/cli/test/utils/test-helpers.ts

Shape

Function 331
Method 38
Class 18
Interface 6

Languages

TypeScript100%

Modules by API surface

docs/src/lib/features/design-system/components/design-system-provider-state.svelte.ts31 symbols
packages/cli/src/utils/transformers/transform-font.ts14 symbols
packages/cli/src/utils/registry/index.ts11 symbols
packages/cli/src/utils/config/utils.ts11 symbols
docs/scripts/registry.ts11 symbols
packages/cli/src/utils/updaters/update-css-vars.ts10 symbols
docs/src/lib/registry/ui/data-table/data-table.svelte.ts10 symbols
docs/scripts/build-registry.ts10 symbols
docs/scripts/build-llms.ts10 symbols
packages/cli/src/preset/preset.ts9 symbols
docs/src/lib/navigation.ts9 symbols
docs/mdsx.config.js9 symbols

Dependencies from manifests, versioned

@changesets/cli2.30.0 · 1×
@clack/prompts1.1.0 · 1×
@cloudflare/workers-types4.20260317.1 · 1×
@dnd-kit/abstract0.1.21 · 1×
@dnd-kit/collision0.1.21 · 1×
@dnd-kit/helpers0.1.21 · 1×
@eslint/compat2.0.3 · 1×
@eslint/js10.0.1 · 1×
@fontsource-variable/dm-sans5.2.8 · 1×
@fontsource-variable/figtree5.2.10 · 1×
@fontsource-variable/geist5.2.8 · 1×

For agents

$ claude mcp add shadcn-svelte \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact