Components
GlassSelect
A glassmorphism-styled select dropdown powered by Radix UI, composed of multiple sub-components.
Preview
Usage
With Groups and Labels
Props — GlassSelect
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | — | Controlled selected value |
defaultValue | string | — | Initial value (uncontrolled) |
onValueChange | (value: string) => void | — | Callback on selection change |
disabled | boolean | false | Disables the select |
Props — GlassSelectContent
| Prop | Type | Default | Description |
|---|---|---|---|
position | "popper" | "item-aligned" | "popper" | Positioning strategy |
Props — GlassSelectItem
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | — | The value of this option (required) |
disabled | boolean | false | Disables this item |