shadcn/ui
shadcn/ui is an open-source collection of composable, accessible UI components released under the MIT license. Designed for frontend engineers and web developers, the project enables teams to build custom component libraries using code they directly own, customize, and extend rather than consuming external package abstractions. It provides components ranging from basic interface elements like buttons, dialogs, and cards to advanced patterns such as data tables, charts, and specialized AI elements including chat interfaces and prompt inputs.
To use shadcn/ui, developers need a compatible JavaScript runtime and package manager such as pnpm, npm, yarn, or bun, or a framework environment like Laravel. Users can scaffold new projects directly in the terminal by executing pnpm dlx shadcn@latest init -t [framework], choosing from supported templates including next, vite, start, react-router, and astro. For Laravel applications, developers first initialize the framework using laravel new, then run npx shadcn@latest init. Developers can also use shadcn/create to generate framework-specific configurations visually. Individual framework guides provide setup steps for existing projects. For another UI primitives library, compare Radix Primitives; its distribution approach differs.
Data as of : 127228 stars · 12006 forks.