# Form components for React & shadcn/ui

> Free React form components for shadcn/ui on Base UI: inputs, selects, comboboxes, date pickers, OTP fields and validation that shakes, counts and explains.

Canonical: https://hextaui.com/components/forms
Last updated: 2026-11-14

Every control a form needs, from a plain text input to a searchable multi-select, a date range picker and a one-time code field. They share one field system for labels, descriptions and errors, so validation reads the same everywhere.

Inputs stay at 16 pixels on touch screens so iOS never zooms, invalid fields can shake to draw the eye, and every control works with the keyboard alone.

## What each one does

- [Calendar](https://hextaui.com/docs/calendar) - A date grid for single, range and multiple selection, with sliding months, range previews and touch-sized days.
- [Checkbox](https://hextaui.com/docs/checkbox) - A checkbox whose check draws in, with indeterminate parents, groups and labels that share its hover.
- [Combobox](https://hextaui.com/docs/combobox) - A filterable select with chips, groups and async results, in a popup that resizes as you type.
- [Date picker](https://hextaui.com/docs/date-picker) - A button that opens a calendar in a popover, or a bottom sheet on phones, for single dates and ranges.
- [Field](https://hextaui.com/docs/field) - Labels, descriptions and errors wired to their control, with validation states and layouts for forms.
- [Input](https://hextaui.com/docs/input) - A text input with three sizes, invalid and read-only states, native validation styling and a 16px touch font so phones never zoom in.
- [Input group](https://hextaui.com/docs/input-group) - An input with icons, text, buttons or a keyboard hint attached, sharing one border and focus ring.
- [Input OTP](https://hextaui.com/docs/input-otp) - One-time code slots that take typing, paste and SMS autofill, with an opt-in animation that cascades codes in and a status for verifying.
- [Label](https://hextaui.com/docs/label) - A label that follows its control, dimming when it's disabled and marking it required or optional on its own.
- [Native select](https://hextaui.com/docs/native-select) - The browser's own select, styled to match Input, with a quiet placeholder, Field support and the OS picker on every device.
- [Questionnaire](https://hextaui.com/docs/questionnaire) - A step-by-step form that moves between questions with a sense of direction, shows real progress and answers from the keyboard.
- [Radio group](https://hextaui.com/docs/radio-group) - Pick one option from a set, with a dot that hands off between choices and cards whose selection ring slides to the new pick.
- [Select](https://hextaui.com/docs/select) - Pick one or more options from a list that opens on the current value, with typeahead, groups and form support.
- [Slider](https://hextaui.com/docs/slider) - Pick a value or a range by dragging, tapping the track or using the keys, with jumps that glide and an optional value bubble.
- [Switch](https://hextaui.com/docs/switch) - An on/off toggle you can tap, press or drag, with a thumb that stretches under your finger and an optional pending state for saves.
- [Textarea](https://hextaui.com/docs/textarea) - Multi-line text that grows smoothly with what you write between a minimum and maximum number of rows, with counters, validation and a submit shortcut.

## Built into Pro blocks

Blocks for AI products that are built from these components.

- [Sales Overview](https://hextaui.com/blocks/sales-overview) - The home analytics page of a store admin. Handles stores with no sales yet, today’s unfinished numbers and reports that fail or come back incomplete.
- [Markdown](https://hextaui.com/blocks/markdown) - Markdown rendering for AI answers. Handles streaming without half-typed syntax, tables you can copy and inline citations.
- [Memory](https://hextaui.com/blocks/memory) - Where people see and edit what an AI assistant remembers, grouped by category with the chats it came from. Edits, undo and pause all move smoothly.
- [Prompt Library](https://hextaui.com/blocks/prompt-library) - Saved prompts with variables that drop straight into the composer. Handles fill-in forms, slash commands, version history and shared, view-only prompts.
- [API keys](https://hextaui.com/blocks/api-keys) - The API keys page of an AI product. Handles a secret shown only once, revoke with undo and rotation with a grace period.
- [Checkout](https://hextaui.com/blocks/checkout) - A one-page checkout with contact, delivery and payment beside a live order summary. Handles changed totals, sold-out items and unknown outcomes.

## Related

- [Overlay components](https://hextaui.com/components/overlays) - Free React dialogs, sheets, drawers, popovers, menus, tooltips and a command palette for shadcn/ui, with focus handled and motion you can interrupt.
- [Data display components](https://hextaui.com/components/data-display) - Free React tables, data tables, charts, trees, cards, badges, avatars and animated numbers for shadcn/ui, built on Base UI and Tailwind CSS.
- [Layout components](https://hextaui.com/components/layout) - Free React accordions, collapsibles, carousels, resizable panels, scroll areas and aspect ratio boxes for shadcn/ui, with height motion you can reverse.
- [Feedback components](https://hextaui.com/components/feedback) - Free React toasts, alerts, progress bars, spinners, skeletons and empty states for shadcn/ui, with loading that waits before it shows and announces changes.
- [Chat UI components](https://hextaui.com/components/chat) - Free React chat UI components for shadcn/ui: messages, bubbles, a message scroller that follows streaming replies, attachments and date markers.
- [Navigation components](https://hextaui.com/components/navigation) - Free React sidebars, tabs, breadcrumbs, pagination and navigation menus for shadcn/ui on Base UI, with keyboard support and right-to-left layouts.
- [Button and action components](https://hextaui.com/components/actions) - Free React buttons, button groups, toggles and toggle groups for shadcn/ui, with loading, success and error states built into the button.
