21st.dev
A searchable marketplace of community components with a prompt for each one
21st.dev is a directory of React and Tailwind components published by the community. Each component has a live preview, its source, and a copyable prompt written to hand to a coding agent. It is the fastest way to answer the question of what a section could look like before you build it.
What it is actually for
The value is browsing, not installing. When a page needs a testimonial block or a feature grid and you have no picture in your head yet, scrolling a few hundred real examples resolves that faster than any amount of staring at your own file.
Once something looks right, the per component prompt is the honest shortcut. It describes the component in enough detail that an agent can rebuild it against your own tokens instead of pasting in someone else's colours.
The quality is uneven, on purpose
This is a community catalogue rather than a curated library. Some entries are excellent and some are a single div with a gradient. Popularity sorting helps but does not replace reading the source.
Check keyboard behaviour and focus states specifically. Community components look right in a screenshot far more often than they behave right under a keyboard.
Reach for it when
- you need to see twenty versions of a section before deciding
- you work with a coding agent and want a precise description to hand it
- you are looking for one specific block rather than adopting a library
Watch out for
- quality varies a lot between authors, so read the source before trusting it
- accessibility is inconsistent, and keyboard behaviour is the usual casualty
- licensing is per component rather than per site, so check before shipping commercially
Compare with these
- UI componentsFree
shadcn/ui
Components you copy into your repository and then own outright
- react
- tailwind
- registry
MITRead - UI componentsFree
Radix Primitives
Unstyled, accessible behaviour for the components that are hard to get right
- react
- accessibility
- primitives
MITRead - UI componentsFree
Base UI
Headless primitives from the people behind MUI and Radix
- react
- headless
- accessibility
MITRead