Skip to content
Auto

Select

A select dropdown component with support for single/multiple selection and native form participation.

Default Select

Basic select with options.

<ae-select label="Country" placeholder="Select a country">
<option value="us">United States</option>
<option value="uk">United Kingdom</option>
<option value="ca">Canada</option>
<option value="au">Australia</option>
</ae-select>

Placeholder

Show placeholder text when no option is selected.

<ae-select label="Category" placeholder="Choose a category">
<option value="electronics">Electronics</option>
<option value="clothing">Clothing</option>
<option value="books">Books</option>
</ae-select>

Select States

Disabled and error states.

<div class="demo-column">
<ae-select label="Disabled" disabled>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
</ae-select>
<ae-select label="With Error" error="Please select an option">
<option value="">Select...</option>
<option value="1">Option 1</option>
</ae-select>
</div>

Required Select

Mark select as required for form validation.

<ae-select label="Priority" required placeholder="Select priority">
<option value="low">Low</option>
<option value="medium">Medium</option>
<option value="high">High</option>
</ae-select>

Multiple Select

Allow selecting multiple options.

<ae-select label="Skills" multiple help-text="Hold Ctrl/Cmd to select multiple">
<option value="js">JavaScript</option>
<option value="ts">TypeScript</option>
<option value="py">Python</option>
<option value="go">Go</option>
<option value="rust">Rust</option>
</ae-select>

Help Text

Provide additional context.

<ae-select label="Timezone" help-text="Select your local timezone">
<option value="utc">UTC</option>
<option value="est">Eastern Time</option>
<option value="pst">Pacific Time</option>
<option value="gmt">GMT</option>
</ae-select>
Terminal window
pnpm add @aetherui-kit/core
import { defineAeSelect } from '@aetherui-kit/core/select';
defineAeSelect();
Name Type Default Description
value string '' Selected value (single)
values string[] [] Selected values (multiple)
placeholder string '' Placeholder text
label string '' Label text
name string '' Form field name
disabled boolean false Disabled state
required boolean false Required field
multiple boolean false Allow multiple selection
error string '' Error message
help-text string '' Helper text
Name Detail Description
ae-select-change { value: string | string[] } Fired when selection changes
Name Description
default Select options (<option> elements)
Name Description
base Base wrapper
label Label element
select-wrapper Select container
select Native select
icon Dropdown icon
help-text Help text
error-text Error message
  • Uses native <select> element
  • Label properly associated
  • Keyboard navigation supported
  • Screen reader friendly