Components
518 components in 50 categories. Every one installs with the shadcn CLI.
Choices 18
Pick one or many: checkboxes, radios, selects, comboboxes, ratings.
- CheckboxA box that people check to turn one option on or off in a form. It has checked, mixed, invalid, disabled, and read-only states in 2 sizes.
- Checkbox GroupA set of checkboxes with one shared value: the list of checked options. One size fits every box, and an optional parent box sets them all.
- Emoji PickerSearch, browse, and pick an emoji. It has skin tones, a preview of the emoji under the pointer, 28 languages, and loading, empty, and error states.
- Radio GroupPick one option from a short list. Each option is a round radio with its label, or a larger tile with a picture.
- Segmented ControlPick one value from a few options in one row. A pill slides to the choice, and the value goes with the form like a radio group.
- Morph SelectA select whose button grows into its list as one shape. One highlight glides from option to option as you move.
- SwitchTurns a setting on or off at once, with no Save button. It comes in 3 sizes, with invalid, disabled, and read-only states.
- Choice CardA card around a checkbox, a radio, or a switch. A press anywhere on the card picks it, and it has room for an icon, a title, a price, and a footer.
- Theme PickerPick light, dark, system, or an app theme from cards that show a small app in each one. The page switches with a short motion, such as a circle that grows.
- SelectPick one value, or several, from a list that opens under the field. The field has the look of Input, and the list works the same on every device.
- Native SelectA select that opens the built-in list of the browser or the phone. It has the look of Select and works in a Field with a label and errors.
- ComboboxType to filter a list, then pick one value or several as chips. The value is always one of the items, so it works as a select with search.
- AutocompleteA text field that suggests values while you type. The text you type stays the value, so it fits a search field or a command palette.
- Tag GroupA row of tags that people can read, remove, pick as filters, or open as links. The arrow keys move from tag to tag.
- CascaderPick a value from a tree of levels, such as region, country, and city. Go one level at a time or see columns, pick one or many, and search all levels.
- RatingGive a score with stars, in whole or half steps. A display part shows any score, such as 4.3 of 5, with no input.
- Tree SelectPick many values from a tree, such as countries and cities. Branches open in place, a parent shows a dash when partly picked, and search keeps the path.
- Transfer ListMove items from one list to another, such as people onto a project. Each side has search and a select-all box, with a seat limit, drag, and Undo.



































