Esta página se muestra en inglés. Una traducción al español está en curso.
ConfigsJul 19, 2026·2 min de lectura

21st.dev — Component Marketplace for shadcn/ui-Based React Libraries

The largest registry of shadcn/ui-compatible React components, blocks, and hooks that developers can search, preview, and install directly into projects.

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
21st.dev
Comando de instalación directa
npx -y tokrepo@latest install 49fbc6ed-836f-11f1-9bc6-00163e2b0d79 --target codex

Ejecutar después de confirmar el plan con dry-run.

Introduction

21st.dev is an open-source marketplace that aggregates shadcn/ui-compatible React components from community authors. It provides a searchable registry where developers discover, preview, and install Tailwind-styled components directly into their projects using the shadcn CLI.

What 21st.dev Does

  • Aggregates thousands of shadcn/ui-compatible components from community contributors
  • Provides live previews of each component with code inspection
  • Generates shadcn CLI-compatible install commands for one-line setup
  • Categorizes components by type: buttons, cards, forms, navigation, charts, and more
  • Supports component versioning and dependency resolution

Architecture Overview

The platform indexes component registries published by authors following the shadcn/ui component specification. Each component includes metadata, dependencies, and source code served through a compatible registry API. The frontend provides search, filtering, and interactive previews rendered in isolated sandboxes.

Setup & Configuration

  • No installation required for browsing; use the web interface to discover components
  • Install components via npx shadcn@latest add with the 21st.dev registry URL
  • Authors publish components by creating a registry following shadcn/ui conventions
  • Configure your project's components.json to accept third-party registries
  • Preview components in different themes (light/dark) before installing

Key Features

  • Largest open collection of shadcn/ui-compatible components and blocks
  • One-command installation that respects your project's Tailwind config
  • Interactive preview playground for testing component behavior
  • Author profiles with component collections and usage statistics
  • Hooks library alongside visual components for shared logic patterns

Comparison with Similar Tools

  • shadcn/ui — the official component set; 21st.dev extends it with community contributions
  • Aceternity UI — provides animated components; 21st.dev aggregates from multiple such libraries
  • Magic UI — single-author animated components; 21st.dev is a multi-author marketplace
  • npm — general package registry; 21st.dev is curated specifically for copy-paste UI components
  • Storybook — documents your own components; 21st.dev discovers external ones

FAQ

Q: Are components free to use? A: Yes. All components on 21st.dev are open source and free for commercial use.

Q: How do I publish my own components? A: Create a shadcn/ui-compatible registry repository and submit it for indexing on the platform.

Q: Do components work with other frameworks like Vue or Svelte? A: The marketplace focuses on React components; Vue and Svelte ecosystems have separate registries.

Q: How are component quality and security ensured? A: Components are community-reviewed, and the platform scans for known vulnerabilities in dependencies.

Sources

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados