DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
  1. Components
  2. Combobox
  3. Combobox Basic
MarkdownShare

Shadcn Combobox Basic

A basic combobox with a list of options. Built by composing Combobox, Field. A free, open source shadcn combobox example you can install with npx shadcn@latest add @reui/c-combobox-1 and edit as your own code.

A basic combobox with a list of options

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.

Best for: The minimal single pick wiring: a string array filtered by typing, with a no results message

When to use

  • Form fields that pick one option by typing to search, such as a framework, timezone or country
  • Fields holding several picks as chips, such as frameworks or team members with avatars
  • Task property pickers opened from a button, such as status, priority, assignee, labels, team or due date

When not to use

  • Options sorted under headings such as world regions: use the Combobox Grouped Options example
  • A short fixed list chosen from a button, with no typing to narrow it: use the Select component
  • A free text field that suggests matches but keeps whatever was typed: use the Autocomplete component
  • A complete signup or settings page with many fields and a submit row: use the Form blocks

Agent notes

  • Rows filter as the user types only when the function child of ComboboxList renders them; static ComboboxItem children always stay listed
  • itemToStringValue sets only the submitted value; without itemToStringLabel, search matches an object item's label, else its value field, else its JSON
  • Combobox parts take render in both twins, since both wrap @base-ui/react; asChild applies only to radix twin parts such as DialogTrigger and Button
Markdownhttps://reui.io/components/combobox/c-combobox-1.md
MCPget_example("c-combobox-1")
Installnpx shadcn@latest add @reui/c-combobox-1
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in Combobox Basic

  • Combobox
  • Field

About Shadcn Combobox Basic

A basic combobox with a list of options. Built by composing Combobox, Field. A free, open source shadcn combobox example you can install with npx shadcn@latest add @reui/c-combobox-1 and edit as your own code.

What You Can Build With Shadcn Combobox Basic

  • Composes Combobox, Field, so it drops into any project already using those components.
  • Install it with the shadcn CLI: npx shadcn@latest add @reui/c-combobox-1
  • Open source and free, with the full source on this page to copy or adapt.

More Shadcn Combobox Examples

  • Disabled A disabled combobox
  • Invalid A combobox in an invalid state
  • Clear Button A combobox with a clear button
  • Auto-Highlight A combobox with auto-highlight enabled
  • Grouped Options A combobox with grouped options
  • Group Separators A combobox with grouped options and separators
  • Large List A combobox with a large list of options
  • Icon Addon A combobox with an icon addon
  • Country Picker A combobox rendered inside a popup
  • In Form A combobox used within a form
  • Multi-Select A multi-select combobox
  • Disabled Multi-Select A disabled multi-select combobox

Related Shadcn Component Categories

  • Command

    Open-source shadcn command menu components for command palettes, global search, and power-user navigation.

  • Context Menu

    Open-source shadcn context menu components for right-click menus, file actions, and table row actions.

  • Data Grid

    Open-source shadcn data grid components for sorting and filtering, virtualized tables, and admin dashboards.

  • Date Selector

    Open-source shadcn date selector components for date range picking, booking windows, and calendar filters.

  • Dialog

    Open-source shadcn dialog components for modal forms, focused tasks, and confirmations.

  • Drawer

    Open-source shadcn drawer components for mobile panels, slide-over forms, and secondary workflows.

Frequently Asked Questions

When should I use Shadcn Combobox Basic?

Use it for the minimal single pick wiring: a string array filtered by typing, with a no results message.

Shadcn Combobox as a whole fits:

  • Form fields that pick one option by typing to search, such as a framework, timezone or country
  • Fields holding several picks as chips, such as frameworks or team members with avatars
  • Task property pickers opened from a button, such as status, priority, assignee, labels, team or due date

For options sorted under headings such as world regions, use the Combobox Grouped Options example. For a short fixed list chosen from a button, with no typing to narrow it, use the Select component. For a free text field that suggests matches but keeps whatever was typed, use the Autocomplete component. For a complete signup or settings page with many fields and a submit row, use the Form blocks.

How do I install Shadcn Combobox Basic?

Run npx shadcn@latest add @reui/c-combobox-1. The CLI copies the source into your project, so you own the code and can edit it freely.

Is Shadcn Combobox Basic free to use?

Yes. Every ReUI component example is open source and free for personal and commercial projects.

Which components does Shadcn Combobox Basic use?

It composes Combobox, Field. The shadcn CLI installs those alongside the example.
NextDisabled

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App ShellAdded 4 new App Shell blocks
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedNew Advanced category with 3 Data Grid blocks
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area Chart
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users

Templates

  • E-commerce
  • SaaS
  • Dashboard
  • Landing
  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K