Documentation

Asgard

Getting started

Theming

Guides

Layout

Docking

Inputs & forms

Button

Switch

Checkbox

Radio

Select

Slider

TextBox

Upload

ImageCropper

Pickers

Color picker

Calendar

Time picker

DateTime input

Data display

Card

Accordion

Typography

Progress

DataTable

TreeView

SyntaxColor

MarkdownRenderer

Terminal

Layout & docking

Grid

Splitter

SDiv

Dock

Theme switcher

Media query

Feedback & overlays

Alert

Toast

Tooltip

Popups

Drawer

FloatingPanel

FloatingWindow

Navigation & chrome

Breadcrumb

Stepper

Toolbar

Ribbon

ContextMenu

FeatureTour

Documentation

Asgard

Getting started

Theming

Guides

Layout

Docking

Inputs & forms

Button

Switch

Checkbox

Radio

Select

Slider

TextBox

Upload

ImageCropper

Pickers

Color picker

Calendar

Time picker

DateTime input

Data display

Card

Accordion

Typography

Progress

DataTable

TreeView

SyntaxColor

MarkdownRenderer

Terminal

Layout & docking

Grid

Splitter

SDiv

Dock

Theme switcher

Media query

Feedback & overlays

Alert

Toast

Tooltip

Popups

Drawer

FloatingPanel

FloatingWindow

Navigation & chrome

Breadcrumb

Stepper

Toolbar

Ribbon

ContextMenu

FeatureTour

Inputs & forms

Choose one value from a list.

Dropdown select component built on the TextBox styling system for visual consistency.

Key features:

  • Single selection with disabled options
  • autocomplete mode for type-to-filter searching
  • Semantic color variants and three sizes
  • Width modes: fixed, full, flex
  • Helper text, error state, and required field support
Loading preview…
When to use it
  • Choosing from many options (country, theme, language)
  • Filters and toolbars
  • Form fields with a fixed value set
  • Type-to-search (autocomplete) and multi-select
Properties
PropTypeDefaultDescription
optionsSelectOption[]Array of { value, label, disabled? } options
valuestring | numberControlled selected value
defaultValuestring | numberUncontrolled initial value
onChange(value: string | number) => voidCalled when selection changes The handler receives the new value directly, NOT a DOM event (write onChange={(v) => setX(v)}, not e.target.value).
placeholderstringPlaceholder text when no value is selected
size'small' | 'normal' | 'large''normal'Input size
variant'outlined' | 'underline''outlined'Visual style of the input
semantic'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info'Semantic color applied to border and focus ring
width'fixed' | 'full' | 'flex''flex'Width behavior
fixedWidthnumberWidth in pixels when width="fixed"
disabledbooleanfalseDisable the select
readonlybooleanfalseRead-only mode
requiredbooleanfalseMark as required field
errorbooleanfalseShow error state
helperTextstringHelper or error text below the input
autocompletebooleanfalseEnable type-to-filter autocomplete mode
Notes
  • Autocomplete mode filters after 2 characters are typed.
  • Individual options can be disabled via the disabled property.
  • Use width="full" inside flex containers for responsive layouts.
Presets