21st
12,000+ hand-crafted React and Tailwind CSS components, templates, and shadcn themes with AI-ready prompts.
Overview
21st is a community-driven registry of UI components, templates, and themes built by design engineers. It hosts over 12,000 hand-crafted React and Tailwind CSS components alongside full production-ready templates and shadcn themes. Rather than functioning as a traditional component library, 21st lets you copy code directly into your repository and customize it freely.
The platform is designed for AI-first workflows. Every component ships as an AI-ready prompt that you can paste into tools like Cursor, Claude Code, v0, or Lovable, where an AI agent will rebuild and integrate it into your codebase. You can also use the classic shadcn CLI install method if preferred. Components are published in shadcn registry format and compose with shadcn/ui primitives.
21st is used by over 4 million builders, from indie makers to teams at Google, Meta, NVIDIA, Shopify, and PayPal. The platform is free to browse, with a free daily allowance of component copies, optional paid membership for unlimited access, and add-on AI credits for generation and refinement features.
Key features
- 12,000+ hand-crafted React components
- 2,000+ marketing blocks and hero sections
- Full production-ready templates
- shadcn/ui themes and compatibility
- AI-ready prompts for Cursor, Claude Code, v0, Lovable
- Live preview and one-command installation
- Community-authored with author attribution
- Bookmarking and team collections
- Design Bug Bot for PR reviews
- SVG logo search and shader/gradient tools
- Massive curated collection from real design engineers
- AI-first workflow with prompt-based installation
- Code copied into repo (not a dependency) — full ownership
- Works seamlessly with shadcn/ui and Tailwind
- Free browsing and 2 free daily copies
- Used by major companies and 4M+ builders
- Community-driven with 700+ contributing designers
- Templates include exact feature lists before purchase
- Free tier limited to 2 component copies per day
- Paid plans required for unlimited access and AI features
- Requires AI tool integration for prompt-based workflow
- No version management since code is copied, not imported
- Learning curve for new users unfamiliar with shadcn/ui
Best for
Alternatives
More Component
Compare allDeclarative routing library for React apps with nested routes and data APIs.
Vercel AI SDK component library on shadcn/ui for AI-native apps.
Unstyled, accessible React primitives for dialogs, menus, tabs, and form controls.