# shadcn-ui/ui

> shadcn/ui is a set of components that developers customize, extend, and build on to make their own component library. Its core idea is that the component code is yours to change, so the library is built from code you control. The project is written mainly in TypeScript and is licensed under MIT.

Source: https://github.com/shadcn-ui/ui
Indexed: commit 968d8cb on 2026-11-18 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: Library
- Language: TypeScript
- Stars: 128,469 at index time
- License: MIT
- Code health: 9.3/10, Excellent
- Last commit: 2026-11-02
- Contributors: 648

## How it works

The command-line tool lives in packages/shadcn, and its entry point is packages/shadcn/src/index.ts. The init command in packages/shadcn/src/commands/init.ts is one of the hotspot files in the repository. The shared registry logic is in packages/registry, and its entry point packages/registry/src/registry/index.ts exposes the registry code. Updater modules such as packages/registry/src/updaters/update-files.ts handle changes to project files. The apps/v4 directory holds the documentation site and the component registry its examples draw from. The templates directory contains starter code for several app stacks, such as templates/astro-app/src/layouts/main.astro for an Astro app.

- packages/registry/src/registry/index.ts: entry point
- packages/shadcn/src/index.ts: entry point
- packages/shadcn/src/templates/start.ts: entry point
- templates/astro-app/src/layouts/main.astro: entry point
- templates/astro-monorepo/apps/web/src/layouts/main.astro: entry point
Modules: apps, packages, templates, .github, root, skills, scripts. 5,449 files, 487,927 lines, 12,290 symbols.

## Code health

- Score: 9.3/10 (Excellent)
- Trend: 9.2 on 2026-11-11, 9.3 on 2026-11-18
- Rank: #9 of 4,000+ indexed repos
- Hotspots: packages/shadcn/src/commands/init.ts, packages/registry/src/updaters/update-files.ts, packages/registry/src/updaters/update-fonts.ts, packages/registry/src/registry/api.ts, packages/shadcn/src/mcp/index.ts
- Lowest file: packages/registry/src/updaters/update-css.ts
- Dead code: 253 findings

## Maintenance

- Last commit 2026-11-02, first commit 2023-01-24, 2,321 commits
- 648 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/shadcn-ui/ui/security

## More

- Page: https://repowise.dev/repo/shadcn-ui/ui
- Ask this codebase: https://repowise.dev/repo/shadcn-ui/ui/chat
- Docs: https://repowise.dev/repo/shadcn-ui/ui/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/shadcn-ui/ui
