Select

Free + Pro

Enhanced select dropdown component with advanced variants, icon support, state management, and smooth animations.

Unlock Advanced Select Features

Get access to powerful pro features that enhance your select component with advanced capabilities, premium styling options, and optimized performance.

  • Built-in search with real-time filtering
  • Clearable selection with an inline reset button
  • Item descriptions for richer options

Pro Features

Unlock advanced capabilities with the Pro version

Built-in Search

Toggle enableSearch on SelectContent to filter options in real time, with a custom placeholder and search icon

Item Descriptions

Add a description to any SelectItem to render secondary helper text under the option label

Clearable Selection

clearable and onClear render an inline button to reset the current value instantly

Hover Animations

enableHoverScale adds a subtle scale-and-shift micro-interaction as items are hovered

Loading States

Show spinners with loading on the trigger and searchLoading on the content while data resolves

Empty-State Handling

noResultsText is shown automatically when a search query matches no options

Installation

Install via CLI

npx @moontra/moonui-cli add select

Usage

Basic Usage

Pro Required

Pro Usage

PRO
Pro Required

With working search and descriptions

Examples

In a Form

Select rarely stands alone — here it sits in a labelled form row next to an Input, sharing the same width, spacing and submit flow

Basic Select

A single-choice select built on Radix — the trigger shows the current value and the list is keyboard navigable

Select with Icons

Icons inside items help scanning when the labels alone are ambiguous

Grouped Options

SelectGroup with a label splits a long list into meaningful sections

Disabled State

Disabling the whole select, or individual items, while keeping the current value visible

PRO
Pro Examples

Enhanced Select with Search

PRO

Pro version includes search, descriptions, animations and more

Pro Required

With working search and descriptions

Advanced Select Features

PRO

Grouped options with icons and advanced states

Pro Required