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. Select Field
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

Select Field

New

One select for every form: single or multiple choice, an optional search box, groups, icons and descriptions, in the library's field look.

npx motionsnack add select-field

Customize

px
px
px
<SelectField />

Props

29 properties

PropertyTypeDefaultDescription
optionsSelectFieldOption[]10 demo services in 3 groupsThe choices: { value, label, description?, icon?, group?, disabled? }. `icon` is one of palette, layout, pen, code, shopping-cart, server, phone, search, mail, chart-column, star, user (old names cart and chart still work).
valuestring | string[]-Controlled value: a string, or an array of strings with `multiple`. Leave undefined to let the component manage it.
defaultValuestring | string[]-Value on first render when uncontrolled.
onChange(value: string | string[], option?: SelectFieldOption | SelectFieldOption[]) => void-Called with the new value and the picked option (an array of options with `multiple`).
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; several values go comma-joined.
idstringgeneratedId of the field.
classNamestring''Extra classes on the wrapper.
labelstring'Service'Label above the field. Empty hides it.
placeholderstring'Pick a service'Text in the field while nothing is picked.
multiplebooleanfalsePick several options; they show as chips in the field.
searchablebooleanfalseA search box at the top of the list that filters the options.
searchPlaceholderstring'Search services'Hint in the search box.
noResultsTextstring'No results'Text when the search finds nothing.
showGroupsbooleantrueShow options under their group headings.
showIconsbooleantrueShow the option icons.
showDescriptionsbooleanfalseShow the line under each option's label.
clearablebooleanfalseAn × in the field that clears the choice.
helperTextstring'You can change it later.'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.
readOnlybooleanfalseShows the value at full contrast; focusable, but the list never opens.
heightnumber48Height of the field. With several chips it grows.
radiusnumber12Corner radius of the field.
listMaxHeightnumber288Tallest the list gets before it scrolls.

About Select Field

Select Field is the select a form reaches for first. Closed, it looks exactly like the library's text fields: the same height, corners, border and soft focus outline. Open, a list drops 6px below it with a short fade and settles; options can sit under small group headings, carry an icon and a line of description, and a disabled one is skipped. Switch on multiple and the picked options show as chips in the field while the list gets checkboxes; switch on search and a box at the top filters the list as you type. A clear button, helper text, a required mark and an error state that turns the border red are built in. The keyboard works as people expect from a native select, from arrow keys and Home or End to typing a letter to jump to an option, and the value is submitted with a form through a hidden input.

What's included

  • Single or multiple choice with chips
  • Optional search box that filters the list
  • Group headings, icons and descriptions
  • Full keyboard control and typeahead
  • Clear button, helper text and error state
  • Soft focus outline shared with every input
  • 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 select-field