motionsnack

Animated React sections that already feel finished.

Copy them into Next.js or add them with one command. Plain React and Tailwind, light and dark.

New sections, once a month

One short email when something new lands. No spam.

Library

  • Sections
  • Blocks
  • Components
  • Application UI
  • Templates

Popular

  • Hero
  • Gallery
  • Testimonials
  • Stats
  • Logos
  • FAQ

Resources

  • Installation
  • All components
  • All blocks
  • All sections
  • All application UI
  • Design system
  • Changelog
  • Pricing

Company

  • About
  • Contact
  • Terms
  • Privacy

Install

npx motionsnack add <name>Step-by-step guidehello@motionsnack.dev
Kuba Šťastný@kubastastnydev

© 2026 motionsnack. All rights reserved.

TermsPrivacy

motionsnack

motionsnack
DocsSectionsTemplatesWhat's newPricing
Get lifetime access
  1. Home
  2. Docs
  3. Components
  4. Select
  5. Combobox
ComponentsBlocksSectionsApplication UI
ComponentsBlocksSectionsApplication UI

Accordion

  • Spring Accordion

Alert

  • Glow Alert

Audio

  • Podcast PlayerNew
  • Voice NoteNew
  • Voice RecorderNew

Avatar

  • Avatar Stack

Badge

  • Pulse Badge

Breadcrumb

  • Slide Breadcrumb

Button

  • Chip ButtonNew
  • Glow Border Button
  • Glow ButtonNew
  • Plain ButtonNew

Calendar

  • Month Calendar

Checkbox

  • Checkbox CardsNew
  • Checkbox GroupNew
  • Chip CheckboxNew

Cropper

  • Image Cropper

Dialog

  • Spring Dialog

Dropdown

  • Command MenuNew
  • Stagger Dropdown
  • Switcher DropdownNew

File Upload

  • Drop Zone Upload

Input

  • Addon InputNew
  • Button InputNew
  • Copy InputNew
  • Date InputNew
  • Floating Label Input
  • Joined InputsNew
  • Notched Label InputNew
  • Number StepperNew
  • OTP InputNew
  • Password InputNew
  • Phone InputNew
  • Range InputNew
  • Search InputNew
  • Tag InputNew
  • Text FieldNew

Loader

  • Curtain LoaderNew
  • Greeting LoaderNew
  • Line LoaderNew
  • Meter LoaderNew
  • Split LoaderNew

Navigation Menu

  • Mobile Tab BarNew

Notification

  • Notification BellNew
  • Toast Stack

Pagination

  • Sliding Pagination

Popover

  • Spring Popover

Radio

  • Card Radio Group
  • Payment MethodNew
  • Radio GroupNew
  • Rating RadioNew

Select

  • ComboboxNew
  • Glide Select
  • Multi SelectNew
  • Rich SelectNew
  • Select FieldNew
  • Tree SelectNew

Sidebar

  • Icon RailNew

Slider

  • Glow Slider

Stepper

  • Progress Stepper

Switch

  • Billing SwitchNew
  • Switch RowNew
  • Toggle SwitchNew

Table

  • Sortable Table

Tabs

  • Sliding Tabs

Textarea

  • Auto Grow Textarea

Toggle

  • Icon ToggleNew
  • Theme ToggleNew
  • Toggle GroupNew

Tooltip

  • Follow Tooltip

Select

Combobox

New

A field you type into to filter a long list, with the matching part of each option highlighted.

npx motionsnack add combobox-input

Customize

px
px
<ComboboxInput />

Props

29 properties

PropertyTypeDefaultDescription
options{ value, label, description?, group?, disabled? }[]25 European citiesOptions to pick from. Options with the same group are listed under one heading.
valuestring-Controlled value. Leave undefined to let the component manage it.
defaultValuestring''Value on first render when uncontrolled.
onChange(value: string, option?: ComboboxOption) => void-Called with the picked value ("" when cleared). Custom text comes without an option.
onInputChange(text: string) => void-Called with the typed text on every keystroke (for remote search).
filter(option: ComboboxOption, query: string) => boolean-Own match rule. Left out, `match` decides (case- and accent-insensitive).
openboolean-Controlled open state of the list. Leave undefined to let the component manage it.
defaultOpenbooleanfalseOpen state on first render when uncontrolled.
onOpenChange(open: boolean) => void-Called whenever the user opens or closes the list.
errorColorstring-Overrides the error colour on both themes (keep 4.5 : 1). Left out, the theme pair #dc2626 / #ef4444 is used.
namestring-Name submitted with a form.
idstringgeneratedId of the input.
classNamestring''Extra classes on the wrapper.
labelstring'City'Label above the field. Empty hides it.
placeholderstring'Start typing a city'Hint inside the empty field.
match'contains' | 'startsWith''contains'How the typed text matches a label.
allowCustombooleanfalseOffer the typed text as a value of its own when no option fits.
icon'search' | 'none''search'Icon at the start of the field.
emptyTextstring'No match for "{query}"'Shown when nothing matches. {query} is the typed text.
customTextstring'Use "{query}"'Last row that picks the typed text, with Allow Custom. {query} is the typed text.
helperTextstring'We use it to show the nearest studio.'Small text under the field. Empty hides it.
errorstring''Error message. Any text marks the field invalid and replaces the helper text.
requiredbooleanfalseMarks the field as required.
disabledbooleanfalseDisables the field.
readOnlybooleanfalseFocusable and copyable, but the value cannot be changed.
loadingbooleanfalseOptions are being fetched: after 500ms the list shows a loading row.
loadingTextstring'Loading…'Text of the loading row.
heightnumber48Height of the field.
radiusnumber12Corner radius of the field.

About Combobox

Combobox is for long lists where scrolling would be slow, such as cities, countries or services. The visitor types straight into the field and the list below narrows with every letter, showing the part that matches in full contrast and dimming the rest, by whole-word start or anywhere in the name. Arrow keys move through the results, Enter picks one and Escape closes the list, then clears the field on a second press, following the accessible combobox pattern. When nothing fits, a short message says so; with custom values allowed, a last row offers the typed text itself. A clear button, a search icon and a hidden form value are built in, and the field shares the library's input size, focus outline and error state.

What's included

  • Filters as you type, contains or starts with
  • Matching part of each option highlighted
  • Optional custom value from the typed text
  • Groups with headings and two-line options
  • Full keyboard support and ARIA combobox roles
  • Clear button and hidden form value
  • Light and dark look
Type
Animated React select component
Library
Components · Select
Stack
Next.js, React, Tailwind CSS
Added
2026-11-23
Install
npx motionsnack add combobox-input