OSS Tanbou

copy component source into a project and grow it into your own UI library

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
124,865
Primary language
TypeScript
License
MIT
Repository last updated
Sep 29, 2026
On this page

Overview

shadcn/ui provides designed components as source code that teams can copy into a project, customize, extend, and maintain as their own UI library rather than treating the components as an opaque package dependency. Its CLI handles initialization, component installation, registry discovery, and change previews.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Add the source code for only the components a project needs

The shadcn CLI configures a project with init and copies selected components such as Button with add. The resulting files live in the application repository, so teams can read and modify the implementation directly.

Sources: [2][3]

Preview file and CSS changes before writing them

The CLI supports add --dry-run, --diff, and --view to inspect resolved files and CSS changes before installation. The same workflow can help review upstream changes before updating locally customized components.

Sources: [3]

Best fit

Fits teams that want to own a design system as application code

It is well suited to React-oriented projects that want a strong starting point while keeping styling, behavior, accessibility, and component conventions under local source control. The README explicitly frames the project as a way to build your own component library.

Sources: [2]

Before adoption

Inspect project modifications before applying CLI operations

init and add can modify configuration, dependencies, component files, and CSS. On an existing project, use info plus --dry-run or --diff to understand the planned changes before writing them.

Sources: [3]

Owning the source also means owning ongoing maintenance

Local ownership makes deep customization possible, but teams are responsible for reconciling their changes with upstream updates. Review upstream diffs and selectively integrate changes rather than assuming package-style automatic upgrades.

Sources: [2][3]

Official sources

  1. [1]shadcn-ui/ui repository(2026-09-30)
  2. [2]shadcn/ui README(2026-09-30)
  3. [3]shadcn CLI reference(2026-09-30)
  4. [4]shadcn/ui MIT license(2026-09-30)
Supplemental curator note

The key distinction is ownership of component source rather than extension of a hidden package implementation. On existing projects, preview CLI changes with dry-run or diff before applying them.

Try it in 3 steps

  1. 1

    Initialize the project for shadcn

    Configure components.json, dependencies, and CSS for the existing project. Substitute the runner used by the project package manager when appropriate.

    npx shadcn@latest init
  2. 2

    Preview the Button changes

    Resolve the files and planned changes without writing them. Use --diff when a detailed patch is needed.

    npx shadcn@latest add button --dry-run
  3. 3

    Add the Button source to the project

    Apply the reviewed changes, then import the generated components/ui/button source and render it in the application.

    npx shadcn@latest add button
Check the official README

Growth

Growth trends · Last 30 days

124,865 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
46
Open PRs
1,015

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • components
  • nextjs
  • radix-ui
  • react
  • tailwindcss
  • ui
  • shadcn
  • base-ui
  • laravel
  • tanstack
  • vite
  • react-aria
Stars
124,865
Forks
11,799
Watchers
425
Open issues
810
Contributors
469
Owner type
Organization
Primary language
TypeScript
License
MIT
Repository last updated
Sep 29, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?