repowiserepowise

Library

shadcn-ui / ui

Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own.

TypeScriptMIT
Setup instructions on GitHub

Releases on GitHub (latest shadcn@4.23.0, Oct 27, 2026)

github.com/shadcn-ui/uiIndexed Refreshes weekly

What is ui?

shadcn/ui is a set of designed components that developers customize, extend and build on to make their own component library. The core idea is that the components are provided as code you can change, rather than only as a fixed package to import. The project is written mainly in TypeScript and is open source under the MIT license. Its code health is 9.3 out of 10 (Excellent), ranked #9 of 265 ranked repos. The last commit to ui was on Nov 2, 2026, and 649 people have contributed.

As of commit 055aa6b, indexed Nov 24, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsui.md

Repo facts: type, license, health, rank, contributors
ui facts
TypeLibrary
LicenseMIT
Code health9.3 / 10 (Excellent)
Health rank#9 of 265 ranked repos
Last commitNov 2, 2026
Contributors649
Bus factor1
Size5,449 files, 487,927 lines

Ask about ui

Answers come from ui's README and source, with the files they cite. Two free answers a day without an account.

Ask about this code in your agent

This connects Repowise to ui's code. It does not install ui.

Useful if you want to change or fork ui: your agent can ask how it is put together and get answers that cite its files.

Explore ui

Code health

9.3out of 10Excellent

Hotspots average 7.8, the place fixes pay off most.

On the leaderboards:#2 of 72 TypeScript repos

shadcn-ui/ui FAQ

What is shadcn/ui?

shadcn/ui is a set of designed components that developers customize, extend and build on to make their own component library. It is open source and licensed under MIT.

How does shadcn/ui work?

shadcn/ui provides components as code you can customize, extend and build on. Its packages directory holds the shadcn command-line tool and the shared registry logic that tool runs on.

What language is shadcn/ui written in?

shadcn/ui is written mainly in TypeScript. Its repository also contains some JavaScript and Astro files.

How is the shadcn/ui code organized?

The code is split into modules, mainly apps, packages and templates. apps holds the documentation site and component registry examples, packages holds the command-line tool libraries, and templates holds starter code for app stacks.

Who is shadcn/ui for?

shadcn/ui is for developers who want to build their own component library from components they can customize, extend and make their own.

What license does shadcn/ui use?

shadcn/ui is released under the MIT license, identified as MIT. The code is open source and can be customized and extended.

About this page

Get a page like this for your own codebase

Repowise built this map of shadcn-ui/ui from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

Key features of ui

  • Provides a set of components that you can customize, extend and build on.
  • Lets you use the code as a starting point for your own component library.
  • Is open source, with the code available to read and change.
  • Publishes its documentation as a website that the project README points to.

How shadcn-ui/ui works

The packages directory holds the libraries behind the shadcn command-line tool and the shared registry logic that tool runs on. packages/shadcn/src/index.ts is an entry point for the command-line tool, and packages/registry/src/registry/index.ts is an entry point for the registry logic. packages/shadcn/src/commands/init.ts is one of the hotspot files, and it belongs to the command-line tool. The templates directory provides starter code for several app stacks, and templates/astro-app/src/layouts/main.astro is one of its entry point layouts. The apps/v4 directory holds the documentation site, its example pages, and the component registry those examples draw from.

The codebase has 5,449 files and 12,290 symbols in 7 modules, led by TypeScript, JavaScript and Astro. Code health is 9.3 out of 10, rated excellent.

Featured answer

Read the answer

The ui repository (shadcn-ui/ui) is a set of designed components that developers customize and extend to build their own component library, provided as code rather than a fixed package, and it is written mainly in TypeScript under the MIT license. The repository contains 5449 files. The packages directory holds the libraries behind the shadcn command-line tool and the shared registry logic, with packages/shadcn/src/index.ts as the command-line entry point and packages/registry/src/registry/index.ts as the registry entry point. The templates directory provides starter code for several app stacks, including templates/astro-app/src/layouts/main.astro as an entry layout, while apps/v4 holds the documentation site, its example pages, and the component registry those examples use. By file count, the layers are Application (1716 files), UI (713), Service (75), Utility (33), Config (28), CLI (18), API (7), and Docs & Tooling (2693). To start reading, open packages/shadcn/src/index.ts or packages/registry/src/registry/index.ts, then look at apps/v4 to see the components in use.

Files per layer in ui8 layers.

Basis: Inferred · knowledge graph· as of 055aa6b

Repowise maps public repos from their source. Not affiliated with shadcn-ui. What is Repowise?