Components
GlassTabs
A glassmorphism-styled tabs component powered by Radix UI.
Preview
Make changes to your account here.
Usage
Controlled
Props — GlassTabs
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | — | Controlled active tab |
defaultValue | string | — | Initial active tab (uncontrolled) |
onValueChange | (value: string) => void | — | Callback when tab changes |
orientation | "horizontal" | "vertical" | "horizontal" | Layout direction |
Props — GlassTabsTrigger
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | — | Tab identifier (required) |
disabled | boolean | false | Disables this tab |
Props — GlassTabsContent
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | — | Matching tab identifier (required) |
All Radix Tabs.* props are also accepted.