{"schemaVersion":"1.0","record":{"label":"shadcn/ui","description":"Open-source React UI components and registry tooling that distribute editable component source into application projects.","aliases":["shadcn"],"kind":"software","website":"https://ui.shadcn.com/","overview":"shadcn/ui supplies UI component source and tools for distributing it into application projects. Rather than requiring every customization to go through an opaque packaged component, its approach exposes the top-level code for direct editing. This makes it a useful starting point for AI-assisted interface work, while leaving the application owner responsible for the copied implementation and its dependencies.","license":"MIT; external registry items and dependencies require their own license review.","lifecycle":"active","example":false,"features":[{"name":"Editable component source","status":"supported","detail":"Distributes component code for project-level customization instead of hiding all implementation behind package APIs.","useCase":"Building reusable React web interfaces","platforms":["React web applications","JavaScript","TypeScript"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://ui.shadcn.com/docs","locator":"Open code, composition and code distribution","retrievedAt":"2026-10-07T22:31:36Z","kind":"vendor"}]},{"name":"Review before component changes","status":"supported","detail":"The documented add command includes dry-run, diff and file-view options; overwriting existing files is an explicit option.","useCase":"Building reusable React web interfaces","platforms":["React web applications","JavaScript","TypeScript"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://ui.shadcn.com/docs/cli","locator":"Initialization, base choices, add, dry-run, diff and overwrite options","retrievedAt":"2026-10-07T22:32:00Z","kind":"vendor"}]},{"name":"Turnkey data grid","status":"limited","detail":"The table documentation is a guide to composing a custom data table using Table and TanStack Table rather than a universal finished grid.","useCase":"Building reusable React web interfaces","platforms":["React web applications","JavaScript","TypeScript"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://ui.shadcn.com/docs/components/base/data-table","locator":"Composing Table with TanStack Table; not a single prepackaged data-grid component","retrievedAt":"2026-10-07T22:32:00Z","kind":"vendor"}]},{"name":"Framework setup","status":"limited","detail":"Documented setup differs by framework and by new versus existing project; Laravel requires an existing application.","useCase":"Building reusable React web interfaces","platforms":["React web applications","JavaScript","TypeScript"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://ui.shadcn.com/docs/installation","locator":"New and existing projects; framework guides and Laravel prerequisite","retrievedAt":"2026-10-07T22:32:10Z","kind":"vendor"}]}],"alternatives":[],"slug":"shadcn-ui","draftAlternatives":[{"targetSlug":"mantine","status":"limited","detail":"Can cover common React interface construction where editable local component source is preferred over a packaged component suite. APIs, styling and additional functionality need adaptation.","useCase":"Building reusable React web interfaces","platforms":["React web applications","JavaScript","TypeScript"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://ui.shadcn.com/docs","locator":"Open code, composition and code distribution","retrievedAt":"2026-10-07T22:31:36Z","kind":"vendor"},{"url":"https://mantine.dev/getting-started/","locator":"Packaged React components, hooks, optional packages and provider setup","retrievedAt":"2026-10-07T22:31:36Z","kind":"vendor"},{"url":"https://mantine.dev/styles/styles-api/","locator":"Customization through named selectors, theme, classNames and styles","retrievedAt":"2026-10-07T22:32:10Z","kind":"vendor"}]}],"evidence":[{"url":"https://ui.shadcn.com/docs","locator":"Open code, composition and code distribution","retrievedAt":"2026-10-07T22:31:36Z","kind":"vendor"},{"url":"https://github.com/shadcn-ui/ui/blob/main/LICENSE.md","locator":"MIT permission and notice conditions","retrievedAt":"2026-10-07T22:31:44Z","kind":"vendor"},{"url":"https://ui.shadcn.com/docs/cli","locator":"Initialization, base choices, add, dry-run, diff and overwrite options","retrievedAt":"2026-10-07T22:32:00Z","kind":"vendor"},{"url":"https://ui.shadcn.com/docs/components-json","locator":"CLI versus manual configuration; Tailwind, aliases and external registries","retrievedAt":"2026-10-07T22:31:44Z","kind":"vendor"},{"url":"https://ui.shadcn.com/docs/installation","locator":"New and existing projects; framework guides and Laravel prerequisite","retrievedAt":"2026-10-07T22:32:10Z","kind":"vendor"},{"url":"https://ui.shadcn.com/docs/components/base/data-table","locator":"Composing Table with TanStack Table; not a single prepackaged data-grid component","retrievedAt":"2026-10-07T22:32:00Z","kind":"vendor"},{"url":"https://mantine.dev/getting-started/","locator":"Packaged React components, hooks, optional packages and provider setup","retrievedAt":"2026-10-07T22:31:36Z","kind":"vendor"},{"url":"https://mantine.dev/styles/styles-api/","locator":"Customization through named selectors, theme, classNames and styles","retrievedAt":"2026-10-07T22:32:10Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://ui.shadcn.com/docs","locator":"Open code, composition and code distribution","retrievedAt":"2026-10-07T22:31:36Z","id":"intro","title":"shadcn/ui introduction","kind":"vendor"},{"url":"https://github.com/shadcn-ui/ui/blob/main/LICENSE.md","locator":"MIT permission and notice conditions","retrievedAt":"2026-10-07T22:31:44Z","id":"license","title":"shadcn/ui license","kind":"vendor"},{"url":"https://ui.shadcn.com/docs/cli","locator":"Initialization, base choices, add, dry-run, diff and overwrite options","retrievedAt":"2026-10-07T22:32:00Z","id":"cli","title":"shadcn CLI","kind":"vendor"},{"url":"https://ui.shadcn.com/docs/components-json","locator":"CLI versus manual configuration; Tailwind, aliases and external registries","retrievedAt":"2026-10-07T22:31:44Z","id":"config","title":"components.json","kind":"vendor"},{"url":"https://ui.shadcn.com/docs/installation","locator":"New and existing projects; framework guides and Laravel prerequisite","retrievedAt":"2026-10-07T22:32:10Z","id":"install","title":"shadcn/ui installation","kind":"vendor"},{"url":"https://ui.shadcn.com/docs/components/base/data-table","locator":"Composing Table with TanStack Table; not a single prepackaged data-grid component","retrievedAt":"2026-10-07T22:32:00Z","id":"table","title":"shadcn/ui data table guide","kind":"vendor"},{"url":"https://mantine.dev/getting-started/","locator":"Packaged React components, hooks, optional packages and provider setup","retrievedAt":"2026-10-07T22:31:36Z","id":"mantine","title":"Mantine getting started","kind":"vendor"},{"url":"https://mantine.dev/styles/styles-api/","locator":"Customization through named selectors, theme, classNames and styles","retrievedAt":"2026-10-07T22:32:10Z","id":"styles","title":"Mantine Styles API","kind":"vendor"}],"overviewCitations":["intro"],"licenseCitations":["license","config"],"sections":[{"id":"ownership","heading":"Source that becomes part of the project","paragraphs":[{"id":"ownership-detail","content":[{"text":"Component code becomes part of the application and can be modified directly. That gives a coding assistant concrete implementation to inspect. It also creates a maintenance responsibility: local changes cannot be assumed to receive upstream improvements when another package is updated. This is an assessment of the distribution model, not a claim that generated modifications are reliable."}],"citations":["intro"]}]},{"id":"setup","heading":"Choosing an installation path","paragraphs":[{"id":"setup-detail","content":[{"text":"The installation documentation offers visual preset creation, command-line setup and instructions for an existing project. Guides cover Next.js, Vite, React Router, Astro and TanStack Start, with a separate prerequisite for Laravel. The current CLI also documents Base UI, Radix and React Aria base choices, so treating every contemporary shadcn component as necessarily Radix-based would be inaccurate. An existing project's framework and component base should be identified before copying a recipe into it."}],"citations":["install","cli"]}]},{"id":"configuration","heading":"Configuration and imports","paragraphs":[{"id":"configuration-detail","content":[{"text":"When the CLI is used, components.json describes where components belong, how aliases resolve and how styling is configured. Manual copy-and-paste adoption does not require that file. The configuration also distinguishes JavaScript from TypeScript output and React Server Component support, including client directives where needed. Tailwind setup and import aliases must agree with the project's actual build configuration; moving files without preserving those relationships is not a complete installation."}],"citations":["config"]}]},{"id":"changes","heading":"Reviewing changes without discarding customization","paragraphs":[{"id":"changes-detail","content":[{"text":"The add command can preview changes, show file differences and display proposed file contents. Its overwrite option is separate from the normal addition workflow. These affordances are useful when a project already contains modified components: an owner can examine incoming code before replacing local work. The presence of a CLI does not establish automatic semantic merging of arbitrary application changes. Updating a visual preset, component implementation and dependency version are related but distinct maintenance decisions."}],"citations":["cli"]}]},{"id":"tables","heading":"A concrete boundary: data tables","paragraphs":[{"id":"tables-detail","content":[{"text":"The data-table documentation deliberately provides a construction guide rather than a single universal grid. It combines the basic Table component with TanStack Table and demonstrates sorting, filtering, pagination, selection and visibility. The developer still chooses the data shape and behavior. Consequently a polished table example is a reusable foundation, not evidence that a particular application's server-side queries, authorization or data editing have been implemented."}],"citations":["table"]}]},{"id":"rights","heading":"Licensing and third-party registries","paragraphs":[{"id":"rights-detail","content":[{"text":"The official repository uses the MIT license, including its requirement to retain copyright and permission notices in copies or substantial portions. The tooling can also consume external and private registries. The official repository's license should not be treated as a blanket license for every resource obtainable through that mechanism; the origin and terms of additional code remain relevant. No model subscription or hosted inference service is part of the verified component license."}],"citations":["license","config"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"For common React interface work, shadcn/ui is an alternative to "},{"text":"Mantine","targetSlug":"mantine"},{"text":" when direct control of component source is more important than adopting a packaged suite. Mantine offers its own components, hooks and styling APIs, so migration requires changing imports, properties, styling and any suite-specific integrations rather than renaming a dependency. The shared task is building an interface; equivalent behavior for every component or complete application is not established. No hands-on migration or accessibility audit was performed."}],"citations":["intro","mantine","styles"]}]}]},"id":"Q578","revision":626,"updatedAt":"2026-10-12T23:15:26Z","sourceUrl":"https://substitutefor.net/entities/Q578?revision=626"}}