Components
518 components in 50 categories. Every one installs with the shadcn CLI.
Code and Developer Tools 5
Code blocks, editors, git views, API docs, and motion editors.
- API ReferenceA props table for a docs page: types, defaults, full types that open, inherited props, and a Keyboard card. You give it the data.
- CodeShows a command, a file name, or a prop inside a sentence. The chip takes the size of the text around it, and it can color the code.
- Code BlockShows code with syntax colors, a Copy button, and line wrap. It can also number and mark lines, show a diff, hold file tabs, and show install commands.
- Code EditorLets people edit code in a page or a form, with syntax colors, line numbers, folding, find and replace, autocomplete, and marks on errors.
- JSON ViewerShows a JSON value as a tree that people open and close by key. They can copy a value, see its type, and see what changed.









