{
 "slug": "shadcn-svelte",
 "name": "shadcn-svelte",
 "author": "Hunter Johnston and contributors",
 "density": "full",
 "status": "active",
 "status_note": null,
 "alternatives_page": null,
 "one_liner": "Svelte port of shadcn/ui with components and blocks (dashboards, sidebars, login); add them with the shadcn-svelte CLI.",
 "category": {
  "slug": "ui-sections",
  "name": "Website sections and blocks"
 },
 "tags": [
  "Code library",
  "Open source"
 ],
 "styles": [
  "minimal"
 ],
 "logo_url": "https://agentgid.com/media/avatars/huntabyte.png",
 "logo_letter": "S",
 "links": {
  "repo": "https://github.com/huntabyte/shadcn-svelte",
  "website": "https://www.shadcn-svelte.com",
  "api_docs": null
 },
 "preview": null,
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free",
   "status": "yes",
   "sub": "No paid plan",
   "quote": null,
   "note": "Fully free.",
   "source": {
    "label": "shadcn-svelte.com",
    "url": "https://www.shadcn-svelte.com"
   },
   "n": 1
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Yes",
   "status": "yes",
   "sub": "MIT",
   "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
   "note": "MIT allows use in paid products.",
   "source": {
    "label": "raw.githubusercontent.com",
    "url": "https://raw.githubusercontent.com/huntabyte/shadcn-svelte/main/LICENSE.md"
   },
   "n": 2
  },
  {
   "key": "credit",
   "label": "Credit the author",
   "value": "Not needed",
   "status": "yes",
   "sub": "Keep the notice in code copies",
   "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
   "note": "No credit on screen. Keep the license notice inside the code you ship.",
   "source": {
    "label": "raw.githubusercontent.com",
    "url": "https://raw.githubusercontent.com/huntabyte/shadcn-svelte/main/LICENSE.md"
   },
   "n": 3
  },
  {
   "key": "agent_access",
   "label": "Agent access",
   "value": "npm package",
   "status": "info",
   "sub": "Installs without a key",
   "quote": null,
   "note": "An agent can install it by itself with npm install shadcn-svelte. No key or account is needed.",
   "source": {
    "label": "github.com/huntabyte/shadcn-svelte",
    "url": "https://github.com/huntabyte/shadcn-svelte"
   },
   "n": 4
  }
 ],
 "license": {
  "name": "MIT",
  "url": "https://raw.githubusercontent.com/huntabyte/shadcn-svelte/main/LICENSE.md",
  "summary": "Free to use in personal and paid products, and you may change and share the code. Keep the copyright and license notice with copies of the code.",
  "pages_read": 1,
  "rules": [
   "Keep the MIT copyright notice in the code if you redistribute it.",
   "No visible credit on the site is required by the licence."
  ],
  "rows": [
   {
    "label": "Commercial use",
    "value": "Yes",
    "status": "yes",
    "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/huntabyte/shadcn-svelte/main/LICENSE.md"
    },
    "note": null
   },
   {
    "label": "Credit",
    "value": "Not needed",
    "status": "yes",
    "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/huntabyte/shadcn-svelte/main/LICENSE.md"
    },
    "note": null
   },
   {
    "label": "Inside your app or game",
    "value": "Can ship inside your app",
    "status": "yes",
    "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/huntabyte/shadcn-svelte/main/LICENSE.md"
    },
    "note": null
   },
   {
    "label": "Pass the files on to your users",
    "value": "Allowed",
    "status": "yes",
    "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/huntabyte/shadcn-svelte/main/LICENSE.md"
    },
    "note": null
   },
   {
    "label": "AI training",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Bots and bulk downloads",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   }
  ],
  "checked_at": "2026-11-05",
  "commercial_use_page": "https://agentgid.com/assets/shadcn-svelte/commercial-use/"
 },
 "overview": {
  "heading": "shadcn-svelte: ready interface pieces for Svelte apps",
  "body": "shadcn-svelte is a free set of ready interface pieces for apps made with Svelte, such as buttons, forms, menus, sidebars and login pages. A small command copies the code of each piece into your own project, so you or your AI assistant can change it freely. It is a community version of the popular shadcn/ui set, which was made for React."
 },
 "uses": [
  {
   "title": "Buttons, forms and dialogs",
   "text": "Add the basic pieces of an app screen one by one, like a button, an input or a pop-up dialog, all in one matching style.",
   "idea": false,
   "image": null
  },
  {
   "title": "An admin dashboard in one step",
   "text": "Start an admin or account area from a ready page with a side menu, charts and a data table, then change the parts you need.",
   "idea": false,
   "image": null
  },
  {
   "title": "Login and sign-up pages",
   "text": "Get a ready login page with a form and a picture, and connect it to the sign-in service you already use.",
   "idea": false,
   "image": null
  },
  {
   "title": "A light and dark theme switch",
   "text": "Let visitors switch your site between light and dark with one button that remembers their choice.",
   "idea": false,
   "image": null
  },
  {
   "title": "Your own design system",
   "text": "Use the pieces as a starting point for your own house style. You change colors and shapes in your own copy instead of fighting a locked library.",
   "idea": false,
   "image": null
  },
  {
   "title": "A chat screen for an AI agent",
   "text": "Build the screen of an AI helper with ready parts for messages, the agent's steps, sources and a message field.",
   "idea": false,
   "image": null
  }
 ],
 "start": {
  "prompt": "In this SvelteKit project with Svelte 5 and Tailwind v4, run shadcn-svelte 1.8.0 (npx shadcn-svelte@1.8.0 init, base color slate, global CSS src/routes/layout.css) after committing, then add the sidebar-07 and login-04 blocks and wire the login form to our existing sign-in.",
  "install": "npx sv create my-app --add tailwindcss",
  "install_note": "Create a SvelteKit project with Tailwind CSS (skip if you have one).",
  "code": [
   {
    "tab": "Step 1",
    "intro": "Set up shadcn-svelte in the project. It asks a few questions and overwrites your global style file, so commit first.",
    "source": "npx shadcn-svelte@latest init"
   },
   {
    "tab": "Step 2",
    "intro": "Add a component and use it in a page.",
    "source": "npx shadcn-svelte@latest add button\n\n<script lang=\"ts\">\n  import { Button } from \"$lib/components/ui/button/index.js\";\n</script>\n<Button>Click me</Button>"
   }
  ]
 },
 "mistakes": [
  {
   "dont": "npm install shadcn-svelte, then import { Button } from 'shadcn-svelte'",
   "fix": "Run the add command; it copies the component into src/lib/components/ui, and you import it from $lib/components/ui/button/index.js",
   "why": "shadcn-svelte is a tool that copies code, not a component package to import from.",
   "dont_code": true,
   "fix_code": false
  },
  {
   "dont": "Running npx shadcn-svelte@latest init in a project with uncommitted styles",
   "fix": "Commit first, pin the version (npx shadcn-svelte@1.8.0 init) and pass the CSS path you expect",
   "why": "init overwrites the global CSS file, and @latest can change between runs.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Following the current docs in a Svelte 4 or Tailwind v3 project",
   "fix": "Upgrade to Svelte 5 and Tailwind v4, or use the legacy docs that match your versions",
   "why": "The current components and setup target Svelte 5 with Tailwind v4.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Copying the .ts component files by hand into a JavaScript-only project",
   "fix": "Set \"typescript\": false in components.json, then add components with the command",
   "why": "The JavaScript versions are produced only by the command.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Adding a theme toggle without ModeWatcher in the root layout",
   "fix": "Install mode-watcher and put <ModeWatcher /> in src/routes/+layout.svelte before using toggleMode",
   "why": "The dark mode setup in the docs depends on ModeWatcher in the root layout.",
   "dont_code": false,
   "fix_code": false
  }
 ],
 "agent": {
  "self_serve": true,
  "self_serve_text": "Agent installs a package or loads it from a CDN",
  "install": "npm install shadcn-svelte",
  "repo": "https://github.com/huntabyte/shadcn-svelte",
  "api_docs": null,
  "api_account": "Not needed. Everything runs on your side.",
  "get_files": "npx shadcn-svelte@latest add <component or block>; no account.",
  "formats": [
   "svelte"
  ],
  "limits": null,
  "mcp": null,
  "mcp_url": null,
  "credit_line": "UI components: shadcn-svelte (MIT)",
  "rules_text": "- shadcn-svelte (Website sections and blocks, UI kits and website templates). Svelte port of shadcn/ui with components and blocks (dashboards, sidebars, login); add them with the shadcn-svelte CLI. Price: free; commercial use OK; no credit needed. Style: minimal.\n  Connect: npm shadcn-svelte.\n  Get files: npx shadcn-svelte@latest add <component or block>; no account (svelte).\n  Not allowed: Needs Svelte + Tailwind\n  Rule: Keep the MIT copyright notice in the code if you redistribute it.\n  Rule: No visible credit on the site is required by the licence.\n  License: https://raw.githubusercontent.com/huntabyte/shadcn-svelte/main/LICENSE.md (checked 2026-11-05; details: https://agentgid.com/assets/shadcn-svelte/)",
  "agent_md": "https://agentgid.com/assets/shadcn-svelte/agent.md",
  "card_json": "https://agentgid.com/assets/shadcn-svelte/card.json"
 },
 "popularity": {
  "gid_score": 42,
  "stars": 9263,
  "downloads_7d": 316455,
  "downloads_7d_label": "316.5K",
  "downloads_change_4w_pct": 41.6,
  "eco": "npm",
  "package": "shadcn-svelte",
  "repo": "huntabyte/shadcn-svelte",
  "agent_projects": 4,
  "agent_projects_total": 4817,
  "downloads_unconfirmed": false,
  "series": {
   "downloads_weekly": [
    [
     "2025-11-17",
     11012
    ],
    [
     "2025-11-24",
     9053
    ],
    [
     "2025-12-01",
     9091
    ],
    [
     "2025-12-08",
     10733
    ],
    [
     "2025-12-15",
     10106
    ],
    [
     "2025-12-22",
     6167
    ],
    [
     "2025-12-29",
     6606
    ],
    [
     "2026-01-05",
     8403
    ],
    [
     "2026-01-12",
     9222
    ],
    [
     "2026-01-19",
     10881
    ],
    [
     "2026-01-26",
     11468
    ],
    [
     "2026-02-02",
     11633
    ],
    [
     "2026-02-09",
     11966
    ],
    [
     "2026-02-16",
     14460
    ],
    [
     "2026-02-23",
     21217
    ],
    [
     "2026-03-02",
     132921
    ],
    [
     "2026-03-09",
     162566
    ],
    [
     "2026-03-16",
     134762
    ],
    [
     "2026-03-23",
     154412
    ],
    [
     "2026-03-30",
     260361
    ],
    [
     "2026-04-06",
     179774
    ],
    [
     "2026-04-13",
     106893
    ],
    [
     "2026-04-20",
     122700
    ],
    [
     "2026-04-27",
     123068
    ],
    [
     "2026-05-04",
     137652
    ],
    [
     "2026-05-11",
     143320
    ],
    [
     "2026-05-18",
     372316
    ],
    [
     "2026-05-25",
     55779
    ],
    [
     "2026-06-01",
     51760
    ],
    [
     "2026-06-08",
     56950
    ],
    [
     "2026-06-15",
     54713
    ],
    [
     "2026-06-22",
     141683
    ],
    [
     "2026-06-29",
     72146
    ],
    [
     "2026-07-06",
     71802
    ],
    [
     "2026-07-13",
     83013
    ],
    [
     "2026-07-20",
     82334
    ],
    [
     "2026-07-27",
     85977
    ],
    [
     "2026-08-03",
     87068
    ],
    [
     "2026-08-10",
     103160
    ],
    [
     "2026-08-17",
     104747
    ],
    [
     "2026-08-24",
     106968
    ],
    [
     "2026-08-31",
     133814
    ],
    [
     "2026-09-07",
     93423
    ],
    [
     "2026-09-14",
     118637
    ],
    [
     "2026-09-21",
     155043
    ],
    [
     "2026-09-28",
     196434
    ],
    [
     "2026-10-05",
     207440
    ],
    [
     "2026-10-12",
     164380
    ],
    [
     "2026-10-19",
     165092
    ],
    [
     "2026-10-26",
     241770
    ],
    [
     "2026-11-02",
     300511
    ],
    [
     "2026-11-09",
     316455
    ]
   ],
   "stars": [
    [
     "2026-11-07",
     9248
    ],
    [
     "2026-11-08",
     9247
    ],
    [
     "2026-11-09",
     9248
    ],
    [
     "2026-11-10",
     9247
    ],
    [
     "2026-11-11",
     9251
    ],
    [
     "2026-11-12",
     9253
    ],
    [
     "2026-11-13",
     9256
    ],
    [
     "2026-11-14",
     9258
    ],
    [
     "2026-11-15",
     9261
    ],
    [
     "2026-11-16",
     9262
    ],
    [
     "2026-11-17",
     9263
    ]
   ]
  },
  "stars_flat_since": null,
  "updated_at": "2026-11-17"
 },
 "alternatives": [
  {
   "slug": "shadcn-svelte",
   "name": "shadcn-svelte",
   "why": null,
   "current": true,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "shadcn-vue",
   "name": "shadcn-vue",
   "why": "Pick shadcn-vue when your app is built with Vue instead of Svelte; it is the same idea with the same kinds of blocks.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "MCP, npm"
  },
  {
   "slug": "nuxt-ui",
   "name": "Nuxt UI",
   "why": "Pick Nuxt UI for a Vue or Nuxt app when you want a full installed library with page templates instead of copied code.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "bootstrap-examples",
   "name": "Bootstrap Examples",
   "why": "Pick Bootstrap Examples for a plain site without Svelte, Vue or React, as one zip of ready layouts.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "adminlte",
   "name": "AdminLTE",
   "why": "Free Bootstrap 5 admin dashboard template (dashboards, forms, tables, auth pages); also React/Angular/Vue ports.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "uiverse",
   "name": "Uiverse",
   "why": "Community-made UI elements (buttons, cards, loaders, inputs, toggles) in HTML/CSS and Tailwind; all MIT and mirrored in a public GitHub repo.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  }
 ],
 "faq": [
  {
   "q": "Is shadcn-svelte the official shadcn/ui?",
   "a": "No. It is an unofficial, community-led Svelte version of shadcn/ui, made with the original author's blessing."
  },
  {
   "q": "Can I use it in a paid product?",
   "a": "Yes. It is under the MIT license; keep the copyright and license notice with copies of the code."
  },
  {
   "q": "Does it work with Svelte 4 or Tailwind 3?",
   "a": "The current docs are for Svelte 5 with Tailwind 4. Older setups have separate legacy docs."
  },
  {
   "q": "Do I have to use TypeScript?",
   "a": "No. Set typescript to false in components.json and the setup command gives you plain JavaScript versions."
  },
  {
   "q": "How do I get updates?",
   "a": "The code you added is yours to change, so it does not update by itself. Deeper fixes come by updating packages it is built on, such as bits-ui."
  }
 ],
 "at_a_glance": {
  "latest_version": "1.8.0",
  "last_release": "2026-11-12",
  "last_commit": "2026-11-16",
  "runtime": "Svelte 5 (peer: ^5.0.0) and Tailwind CSS v4 for the current docs; Svelte 4 or Tailwind v3 projects use the legacy docs sites.",
  "key_needed": false,
  "formats": "svelte"
 },
 "good_to_know": [
  "The current version is for Svelte 5 with Tailwind CSS 4. Older setups have their own separate docs sites.",
  "The setup step rewrites your main style file. Save or commit your work before you run it.",
  "The code lives in your project after you add it. Fixes to the visible part do not arrive by themselves; deeper parts update with the packages under them.",
  "It is a community project, not made by the shadcn/ui team, though it started with their blessing.",
  "The pieces are written in TypeScript. A plain JavaScript version is available only through the setup command."
 ],
 "stack_snippets": [],
 "claims": [],
 "checked": {
  "license_read": "2026-11-05",
  "overview_checked": "2026-11-09",
  "numbers_updated": "2026-11-17",
  "sources": [
   {
    "label": "shadcn-svelte.com",
    "url": "https://www.shadcn-svelte.com/"
   },
   {
    "label": "shadcn-svelte.com/docs",
    "url": "https://www.shadcn-svelte.com/docs"
   },
   {
    "label": "shadcn-svelte.com/blocks",
    "url": "https://www.shadcn-svelte.com/blocks"
   },
   {
    "label": "shadcn-svelte.com/llms.txt",
    "url": "https://www.shadcn-svelte.com/llms.txt"
   },
   {
    "label": "shadcn-svelte.com/docs.md",
    "url": "https://shadcn-svelte.com/docs.md"
   },
   {
    "label": "shadcn-svelte.com/docs/about.md",
    "url": "https://shadcn-svelte.com/docs/about.md"
   },
   {
    "label": "shadcn-svelte.com/docs/cli.md",
    "url": "https://shadcn-svelte.com/docs/cli.md"
   },
   {
    "label": "shadcn-svelte.com/docs/javascript.md",
    "url": "https://shadcn-svelte.com/docs/javascript.md"
   },
   {
    "label": "shadcn-svelte.com/docs/legacy.md",
    "url": "https://shadcn-svelte.com/docs/legacy.md"
   },
   {
    "label": "shadcn-svelte.com/docs/changelog.md",
    "url": "https://shadcn-svelte.com/docs/changelog.md"
   },
   {
    "label": "shadcn-svelte.com",
    "url": "https://shadcn-svelte.com/docs/installation/sveltekit.md"
   },
   {
    "label": "shadcn-svelte.com/docs/installation/vite.md",
    "url": "https://shadcn-svelte.com/docs/installation/vite.md"
   },
   {
    "label": "shadcn-svelte.com",
    "url": "https://shadcn-svelte.com/docs/installation/manual.md"
   },
   {
    "label": "shadcn-svelte.com/docs/dark-mode/svelte.md",
    "url": "https://shadcn-svelte.com/docs/dark-mode/svelte.md"
   },
   {
    "label": "shadcn-svelte.com/docs/components/sidebar.md",
    "url": "https://shadcn-svelte.com/docs/components/sidebar.md"
   },
   {
    "label": "shadcn-svelte.com/docs/components/button.md",
    "url": "https://shadcn-svelte.com/docs/components/button.md"
   },
   {
    "label": "shadcn-svelte.com/docs/theming.md",
    "url": "https://shadcn-svelte.com/docs/theming.md"
   },
   {
    "label": "shadcn-svelte.com/docs/components-json.md",
    "url": "https://shadcn-svelte.com/docs/components-json.md"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/huntabyte/shadcn-svelte/blob/main/README.md"
   },
   {
    "label": "github.com/huntabyte/shadcn-svelte/blob/main/LICENSE.md",
    "url": "https://github.com/huntabyte/shadcn-svelte/blob/main/LICENSE.md"
   },
   {
    "label": "npm: shadcn-svelte/latest",
    "url": "https://registry.npmjs.org/shadcn-svelte/latest"
   },
   {
    "label": "github.com/huntabyte/shadcn-svelte",
    "url": "https://github.com/huntabyte/shadcn-svelte"
   }
  ],
  "unverified": null
 },
 "user_reports": null,
 "url": "https://agentgid.com/assets/shadcn-svelte/",
 "note": "Written by AgentGid from the official pages in checked.sources; quotes are copied from those pages. status: yes | cond | no | unknown | info. Prices and vendor claims are as reported on the checked date. Not legal advice."
}
