React form components
Free React form components for Tailwind CSS v4: inputs, selects, comboboxes, OTP, date and currency fields, with labels, errors and dark mode built in.
This category holds every control a form needs: text fields (Input, Textarea, PasswordInput, PhoneInput, CurrencyInput, MaskedInput), choices (Checkbox, RadioGroup, Switch, Select, Combobox, MultiSelect), dates and times, sliders, file and image uploads, and FormField, which links a label, hint and error message to any control.
Choose by the shape of the answer. One choice from a short list is a RadioGroup when the options fit on screen, a Select when they do not, and a Combobox once there are more than about seven and typing helps. Several choices are a MultiSelect from a fixed list or TagsInput for free entries. The date fields wrap the browser's native date input and hold ISO strings, so they need no date library.
Which one should I use?
| You need | Use | Why |
|---|---|---|
| Pick one of two to six options, all visible | Radio Group | Arrow keys move and select |
| Pick one option from a longer list | Select | Base UI, with typeahead |
| Pick one from a long list by typing | Combobox | Filters as you type |
| Type freely, with suggestions | Autocomplete | The value can be anything typed |
| Pick several from a fixed list | Multi Select | Chosen items show as removable chips |
| Enter free-form tags or emails | Tags Input | Enter or comma adds a tag |
| Pick a date | Date Picker | Native input, ISO string value |
| Pick a start and end date | Date Range Picker | Two native date inputs in one group |
| Show a month grid on the page | Calendar Month | Real weekday alignment, full keyboard |
| A setting that applies at once | Switch | Use Checkbox for submitted forms |
| A money amount | Currency Input | Decimal keypad on mobile |
| A value with a fixed format, like a phone number | Masked Input | Formats as you type |
| Label, hint and error around a control | Form Field | Sets aria-describedby and aria-invalid |
| A long form split into steps | Form Wizard | Validates each step before moving on |
54 items
npx shadcn@latest add @minidev/autocomplete @minidev/calendar-month @minidev/character-count @minidev/checkbox-group @minidev/checkbox @minidev/chip-filter @minidev/choice-card @minidev/color-picker @minidev/combobox @minidev/comment-composer @minidev/currency-input @minidev/date-picker @minidev/date-range-picker @minidev/editable-heading @minidev/emoji-picker @minidev/facet-filter @minidev/file-dropzone @minidev/form-field @minidev/image-upload @minidev/input-affix @minidev/input @minidev/label @minidev/mention-input @minidev/multi-select @minidev/number-input @minidev/password-input @minidev/phone-input @minidev/radio-group @minidev/range-slider @minidev/rating @minidev/rich-text-toolbar @minidev/search-input @minidev/search-with-results @minidev/segmented-control @minidev/select @minidev/slash-command-menu @minidev/slider @minidev/switch @minidev/tags-input @minidev/textarea @minidev/time-picker @minidev/user-chip @minidev/workspace-create @minidev/form-wizard @minidev/onboarding-flow @minidev/password-strength @minidev/signature-pad @minidev/masked-input @minidev/floating-label-input @minidev/markdown-editor @minidev/calendar @minidev/date-time-picker @minidev/timezone-select @minidev/country-selectComponents 52
Text input that filters string options as you type, using ARIA combobox and listbox roles. Works controlled or uncontrolled and lists up to eight matches.
npx shadcn@latest add @minidev/autocompleteMonth calendar grid with weekday headers and clickable day cells that highlight the selected date. A simple Tailwind base for date views and schedulers.
npx shadcn@latest add @minidev/calendar-monthLive React character counter that shows the current count against a limit and turns red when it goes over. Announces changes politely to screen readers.
npx shadcn@latest add @minidev/character-countVertical wrapper that groups related checkboxes under role group with even spacing. Use it with Checkbox and labels for multi select settings.
npx shadcn@latest add @minidev/checkbox-groupCheckbox
uiShadcn style checkbox on Base UI with an animated check, indeterminate state, invalid and disabled styles, and an enlarged hit area for touch.
npx shadcn@latest add @minidev/checkboxSingle select filter chips in React that behave as a radio group, with an accent ring on the active chip. Good for quick filters above lists and tables.
npx shadcn@latest add @minidev/chip-filterSelectable React card button with an icon, title and description, using aria-pressed and an accent outline when chosen. Suits plan pickers and onboarding.
npx shadcn@latest add @minidev/choice-cardSwatch color picker with eight OKLCH presets, a ring on the selected swatch and listbox semantics. Works controlled or uncontrolled for theme or label colors.
npx shadcn@latest add @minidev/color-pickerCombobox
uiShadcn style combobox: a popover select with a filter input, check mark on the chosen item and an empty message. Built on Base UI popover for React.
npx shadcn@latest add @minidev/comboboxComment box with a three row textarea and a Comment button that stays disabled until there is text. Submits the trimmed value and clears the field.
npx shadcn@latest add @minidev/comment-composerMoney input with a currency code prefix, decimal keypad on mobile and tabular numbers. Controlled via a string value to avoid rounding issues in React forms.
npx shadcn@latest add @minidev/currency-inputDate picker built on the native date input, styled to match the rest of your form fields. Returns ISO date strings and supports disabled and labelled states.
npx shadcn@latest add @minidev/date-pickerStart and end date range picker made from two labelled date inputs. Works controlled or uncontrolled and returns a from and to object for filters and reports.
npx shadcn@latest add @minidev/date-range-pickerInline editable title that looks like a large heading but is a text input. Use it for document, page or project names; works controlled or uncontrolled.
npx shadcn@latest add @minidev/editable-headingCompact emoji picker grid with a default set of twelve reactions or your own list, using listbox and option roles. Calls onSelect with the chosen emoji.
npx shadcn@latest add @minidev/emoji-pickerA titled checkbox facet group for sidebar search filters in React. Each option can show a result count, and the selected values come back as an array.
npx shadcn@latest add @minidev/facet-filterA React drag and drop upload zone with accept and reject states, type and size checks, image previews, per file progress, retry and screen reader updates.
npx shadcn@latest add @minidev/file-dropzoneA wrapper that pairs any input with its label, required marker, help text and an error message announced with role alert. Keeps React forms consistent.
npx shadcn@latest add @minidev/form-fieldA single image picker that starts as a drag and drop zone, then swaps to a large preview with a remove button. Returns an object URL and the File in React.
npx shadcn@latest add @minidev/image-uploadA text input with leading and trailing slots for icons, units or buttons, sharing one focus ring and invalid state across the field. Tailwind styled.
npx shadcn@latest add @minidev/input-affixInput
uiThe base text input with sm, default and lg sizes and designed hover, focus, disabled, read only and invalid states. A drop in shadcn style input for React.
npx shadcn@latest add @minidev/inputLabel
uiA form label that dims and blocks pointer events when its peer input or group is disabled. Native label API, styled with Tailwind like the shadcn label.
npx shadcn@latest add @minidev/labelA comment textarea that opens a suggestion list when you type @, filters names as you keep typing and inserts the chosen @mention. For React comments.
npx shadcn@latest add @minidev/mention-inputA multi select dropdown in a popover with check marks on chosen items and removable chips below the trigger. Works controlled or uncontrolled in React.
npx shadcn@latest add @minidev/multi-selectA numeric stepper with minus and plus buttons around a centered input that clamps to min and max and moves by a custom step. Works controlled or uncontrolled.
npx shadcn@latest add @minidev/number-inputA password field with a show and hide toggle inside the input, an eye icon that swaps state and an accessible label. Supports sm, default and lg sizes in React.
npx shadcn@latest add @minidev/password-inputA telephone number field with type tel, a numeric keypad on mobile, tel autocomplete, tabular digits and a default aria label. Styled like the React base input.
npx shadcn@latest add @minidev/phone-inputAccessible radio group on Base UI with keyboard navigation, a springy checked dot, larger hit areas, and invalid and disabled states. A shadcn-style drop in.
npx shadcn@latest add @minidev/radio-groupTwo-thumb range slider for picking a min and max, with value bubbles on both thumbs while dragging, optional marks, a formatter and an onValueCommitted hook.
npx shadcn@latest add @minidev/range-sliderRating
uiStar rating input rendered as a radiogroup, with one labelled radio per star, a configurable max, disabled state, and controlled or uncontrolled value in React.
npx shadcn@latest add @minidev/ratingFormatting toolbar with bold and italic toggles, link, bullet and numbered list buttons, and a divider. Uses role toolbar with labelled icon toggles in React.
npx shadcn@latest add @minidev/rich-text-toolbarSearch input with a leading search icon and a clear button that appears once there is text. Comes in sm, default and lg sizes, controlled or uncontrolled.
npx shadcn@latest add @minidev/search-inputSearch field with a results list below it showing titles and optional subtitles, plus a No results state. Emits onSearch as you type so you can filter in React.
npx shadcn@latest add @minidev/search-with-resultsSegmented control with a raised thumb that springs between options, arrow, Home and End key support, icons, badges, three sizes and reduced motion support.
npx shadcn@latest add @minidev/segmented-controlSelect
uiSelect dropdown on Base UI with a trigger in three sizes, an animated popup, groups, labels, separators, a check indicator and scroll arrows. Shadcn-compatible.
npx shadcn@latest add @minidev/selectReact slash command menu that filters commands by the typed query, shows each as /name with an optional hint, and falls back to a No commands message.
npx shadcn@latest add @minidev/slash-command-menuSlider
uiSlider on Base UI with a hairline rail, a keycap thumb, a value bubble while dragging, optional labelled marks, Intl number formatting and vertical support.
npx shadcn@latest add @minidev/sliderSwitch
uiSwitch on Base UI whose thumb stretches on press then springs across, with sm and default sizes, a loading spinner state and an optional clickable label row.
npx shadcn@latest add @minidev/switchReact tags input that adds a chip on Enter or comma, skips duplicates, removes the last tag on Backspace and gives each chip a labelled remove button.
npx shadcn@latest add @minidev/tags-inputTextarea
uiMultiline textarea with a 96px minimum height, comfortable line height, hairline border, focus ring and subtle placeholder. A shadcn-compatible Textarea.
npx shadcn@latest add @minidev/textareaReact time picker built on the native time input, styled to match the other inputs, with a controlled value, onChange, disabled state and an aria-label.
npx shadcn@latest add @minidev/time-pickerReact user chip showing a small avatar with initials fallback and the person's name, plus an optional remove button. Good for assignees, mentions and pickers.
npx shadcn@latest add @minidev/user-chipA compact create workspace form in React with a required name field, a URL slug input and a submit button wired to an onCreate callback.
npx shadcn@latest add @minidev/workspace-createA React password field with a four step strength meter and a live rule checklist. Announces the score politely and accepts your own scorer such as zxcvbn.
npx shadcn@latest add @minidev/password-strengthDraw a signature with mouse, pen or finger on a canvas with pressure aware strokes, undo and clear, a typed name fallback and PNG export for forms.
npx shadcn@latest add @minidev/signature-padReact masked input that formats phones, dates, plates and IBANs as you type, keeps the caret steady on edits and pastes, and returns masked and raw values.
npx shadcn@latest add @minidev/masked-inputReact floating label input and textarea whose label springs onto the top border on focus or fill, with helper text, an error state and a leading icon.
npx shadcn@latest add @minidev/floating-label-inputReact markdown editor with a toolbar that wraps the selection, shortcuts, write, split and preview modes, a live preview without innerHTML and a word count.
npx shadcn@latest add @minidev/markdown-editorCalendar
uiReact calendar for Tailwind and shadcn: single, range or multiple dates, two months, preset ranges, a hover preview of the range and full arrow-key support.
npx shadcn@latest add @minidev/calendarReact date and time picker in one popover: a calendar and a scrollable time list, 5 to 30 minute steps, past times disabled and a 12 or 24 hour clock.
npx shadcn@latest add @minidev/date-time-pickerReact time zone picker on Base UI Combobox: search by city, UTC offset or abbreviation, live local times, region groups and the user's zone pinned on top.
npx shadcn@latest add @minidev/timezone-selectReact country select with search, emoji flags and names localised by Intl.DisplayNames. Returns ISO codes, pins top countries and submits with forms.
npx shadcn@latest add @minidev/country-select
Blocks and full pages 2
Form Wizard
blockA three step React form wizard with a stepper for basics, details and review, per step fields, and back and next buttons that become submit at the end.
npx shadcn@latest add @minidev/form-wizardOnboarding Flow
blockA three step onboarding card for naming a workspace, inviting teammates by email and reviewing theme choices, with step progress and back or continue.
npx shadcn@latest add @minidev/onboarding-flow
Using an AI coding agent? Read the agent guide, point it at /llms.txt for the full index, or paste /AGENTS.md into your project. Every component has plain Markdown docs at /docs/<name>.md.
See them live
Galleries render these components with sample data in every state.
Frequently asked questions
What is the best React date picker for shadcn/ui?
It depends on what the page needs. DatePicker wraps the browser's native date input, so it gets a localised format, a calendar popup and keyboard support without a date library, and its value is an ISO string such as "2026-11-14". Use DateRangePicker for a from/to pair and CalendarMonth when the month grid should stay visible.
Should I use Select, Combobox or MultiSelect?
Select for one choice from a list people can scan, Combobox when there are more than about seven options and typing to filter helps, and MultiSelect when people can pick several. Select and Combobox are built on Base UI, so typeahead, arrow keys and Escape work without extra code.
Do these form components work with React Hook Form?
Yes. Input, Textarea and the other fields built on native inputs pass every prop through, so register() works on them directly. Controls that report changes through a callback, such as Select (onValueChange) and Checkbox (onCheckedChange), go inside React Hook Form's Controller.
How do I show a validation error under a field?
Wrap the control in FormField and pass error. It links the message to the control with aria-describedby and sets aria-invalid while there is an error, so the border turns red and screen readers read the message.