Active
Draft
In Review
Published
Closed
Archived
Selected:
Installation
CLI
Install the component using the StarUI CLI:
Examples
Grouped Options
Convenience wrapper organizing options into labeled groups
North America
Eastern Time (EST)
Central Time (CST)
Mountain Time (MST)
Pacific Time (PST)
Europe
Greenwich Mean Time (GMT)
Central European Time (CET)
Eastern European Time (EET)
Asia
Japan Standard Time (JST)
China Standard Time (CST)
India Standard Time (IST)
States
Disabled, required, and error states
Option A
Option B
Option C
Option A
Option B
Option C
Option A
Option B
Option C
Option A
Option B
Option C
Please select an option
Form Integration
Project creation form with required fields and conditional submit
New Project
Choose a starting template and visibility
Dependent Selects
Cascading selects where child options depend on parent selection
Vehicle Selection
Choose a make and model
Toyota
Honda
Ford
Inline Selects
Side-by-side selects with immediate effect, no form submission
Sans
Serif
Mono
Small
Medium
Large
sans / medium
API Reference
| Component | Description |
|---|---|
Select |
Main container managing selected state via Datastar signals |
SelectTrigger |
Button that opens the dropdown menu |
SelectValue |
Displays current selection or placeholder |
SelectContent |
Dropdown panel listing available items |
SelectItem |
Individual selectable option with value and label |
SelectGroup |
Group related options for easier scanning |
SelectLabel |
Label heading for a group of options |
SelectSeparator |
Visual divider between items or groups |
SelectWithLabel |
Convenience wrapper with label, helper, and error text |