Home Components Select
React Select Components
36 free React selects built with Tailwind CSS and shadcn/ui conventions. Copy the code or install with the shadcn CLI. Great for native style, grouped, and searchable selects.
Select 1 : Native HTML select with a label and rounded border for picking an account role.Select 2 : Native select that opens on a disabled placeholder option until a choice is made.Select 3 : Native select with a database icon placed inside the field on the left.Select 4 : Native select with a muted helper text line below explaining the choice.Select 5 : Native select in an invalid state with a red border and red error message.Select 6 : Required native select with a red asterisk next to its label.Select 7 : Native select with options split into labelled optgroup sections.Select 8 : Native select with a floating label that sits on the top border and darkens on focus.Select 9 : Native select inside a bordered box with a small uppercase label above the value.Select 10 : Custom dropdown select with a preselected value and a labelled group heading in the menu.Select 11 : Custom dropdown that shows placeholder text until a grouped option is picked.Select 12 : Custom dropdown with a desktop icon shown before the selected value in the trigger.Select 13 : Custom dropdown select with a muted description line underneath the field.Select 14 : Custom dropdown in an amber warning state with a matching border and alert message.Select 15 : Three stacked dropdowns showing small, default and large trigger sizes.Select 16 : Custom dropdown for picking a P1 to P4 priority level with a soft focus ring.Select 17 : Filled dropdown with a light gray background and no shadow instead of a white field.Select 18 : Borderless ghost dropdown with a transparent trigger that only tints on hover.Select 19 : Disabled dropdown that is faded and locked to its preselected value.Select 20 : Dropdown where some options are disabled and greyed out as full or offline.Select 21 : Required custom dropdown with a red asterisk beside the label.Select 22 : Dropdown menu with options organised under two labelled groups.Select 23 : Grouped dropdown menu with a divider line separating the two option groups.Select 24 : Custom dropdown with a floating label resting on the top border of the trigger.Select 25 : Dropdown nested in a bordered card with an uppercase label and borderless trigger.Select 26 : Dropdown with read and write permission groups for choosing an API access scope.Select 27 : Dropdown where each option shows a small icon before its label.Select 28 : Dropdown whose trigger shows a fixed prefix label before the selected value.Select 29 : Dropdown with colored status dots for draft, live, archived and legacy states.Select 30 : Dropdown listing regions with country flag images beside each option.Select 31 : Dropdown for assigning a team member with an avatar beside each name.Select 32 : Multi-select popover with checkmarks that shows a count once several items are chosen.Select 33 : Multi-select popover for notification channels with a helper note under the field.Select 34 : Native multiple select showing all options in a tall list box with a Cmd or Ctrl hint.Select 35 : Always-visible single-select list box with a description under each option and a disabled item.Select 36 : Always-visible multi-select list box with two headed sections, a divider and checkmarks.
About React Select Components A React select lets users choose one value from a list that opens from a trigger. Most Watermelon UI selects are built on the Radix UI Select primitive with Tailwind CSS, and others use a styled native select element, so you can pick custom styling or native mobile pickers. Add one with the shadcn CLI, then fill SelectContent with SelectItem options.
When to use it Choosing a country, role, or category in a form. Sort or filter controls above a list. Settings with more options than fit as radio buttons. When to use something else Use Combobox when the list is long enough that users need to search it. Use Radio Group when there are only a few options and all should stay visible. Use Dropdown Menu when the items are actions to run, not values to save. Frequently asked questions How do I add a placeholder to a shadcn select? Pass placeholder to SelectValue, for example <SelectValue placeholder="Select a role" />. It shows whenever no value is selected.
How do I reset a shadcn select to the placeholder? Control the select and set its value back to an empty string. SelectItem itself cannot use an empty string as its value, because Radix reserves it for clearing.
How do I group options in a select? Wrap related items in SelectGroup with a SelectLabel heading, and use SelectSeparator between groups. Screen readers announce the group label.
How do I add search to a shadcn select? Use a combobox built from Popover and Command instead, because the Radix select has no search field and only jumps to items as you type their first letters. cmdk filters the list as the user types.
How to use React Select Components Start from a React project with Tailwind CSS and shadcn/ui set up. Next.js, Vite, Remix, and Astro all work. Run npx shadcn@latest add https://registry.watermelon.sh/r/select-1.json to add the source files to your project. Import it where you need it, then edit the Tailwind classes and design tokens to match your product. Dependencies installed with it: @tabler/icons-react, react-aria-components.
The code is yours: it lives in your repository, so there is no runtime package to keep updated. Watermelon UI is free and open source under the MIT license.
More: Free React components , UI library alternatives , guides .