serafimcloud

21st: Discover and Install React UI Components

21st is a community registry and marketplace for reusable React components built with Tailwind CSS and Radix UI. It helps developers find, publish, and install shadcn/ui-style components in their projects.

View on GitHub Compare
Stars
5.5k
Forks
324
Stars, last 30 days
+62

Our take

Health score

26/100

How it is scored
Activity
19
Community
43
Issues
21
Pull requests
20

+62 stars in the last 30 days

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

5,565

Forks

338

Change since Nov 16, 2026: 0 stars·0 forks

Overview

21st is a web-based registry for discovering, publishing, and installing reusable React UI components. It addresses the work of finding polished interface pieces and bringing their code, dependencies, and styling into an application.

It is aimed at developers and design engineers building React interfaces, especially those already using Tailwind CSS and shadcn/ui conventions. Components can be added with the shadcn CLI, while contributors can publish components with demos for community review.

Key Features

  • Browse a community marketplace of React components, blocks, and hooks.
  • Install registry components with an npx shadcn command.
  • Publish components with demos, preview images, and optional videos.
  • Include component dependencies, Tailwind configuration, and global styles with a submission.
  • Support TypeScript, Tailwind themes, Radix UI, and Next.js client components.
  • Use a review process that distinguishes direct-link availability from public listing and featuring.

Use Cases

  • React developers can add a ready-made interface component instead of building each element from scratch.
  • Design engineers can explore component examples and adapt them to a Tailwind-based project.
  • Component authors can publish reusable work and share it with a community audience.
  • Teams using shadcn/ui conventions can install components while bringing along their required files and dependencies.

Getting Started

Install a component from its 21st.dev listing using the provided command. For example:

npx shadcn@latest add "https://21st.dev/r/shadcn/accordion"

See the README for contributor setup and publishing details. Explore the registry at 21st.dev.

Alternatives

  • Prismui: Prism UI offers shadcn/ui-style components and page sections, while 21st is a community registry and marketplace for reusable components.
  • Fancy: Fancy focuses on animated React components and microinteractions, while 21st covers a broader community catalog of Tailwind and Radix UI components.
  • headlessui: Headless UI supplies unstyled accessible primitives for React and Vue, while 21st catalogs styled, reusable React components for installation.
  • tremor-npm: Tremor specializes in Tailwind-based charts and dashboard components, while 21st is a broader marketplace for reusable React UI components.
ProjectLanguageLicenseStarsStatus
21stTypeScriptMIT5.5kNot checked yet
PrismuiTypeScriptAGPL-3.0793Quiet
fancyTypeScriptMIT3.2kQuiet
headlessuiTypeScriptMIT28.8kQuiet
tremor-npmTypeScriptApache-2.016.5kInactive

Considerations

  • Components are React-focused; the README lists Next.js client components as supported and says server-side rendering is coming soon.
  • The README says JavaScript is not tested, so TypeScript is the better-supported choice.
  • Running the repository locally requires accounts and credentials for Supabase, Clerk, and Cloudflare R2, along with environment configuration.
  • Public listing and featuring involve a review process, so a published component may not immediately appear in public listings.

Found this useful?

Share it with someone who would like 21st.

Comparisons