Tabs
Tab navigation with smooth pill animations.
Installation
Install Tabs from the Fluid Effect UI registry.
Basic
Basic
With Icons
With Icons
Active Label
Active Label
API Reference
Types come from the public API. A dash indicates no default is documented here.
Tabs props
Public source| Prop | Type | Default |
|---|---|---|
key | string | Required |
value | string | null | Required |
items | readonly TabsItem<Msg, R>[] | Required |
onSelected | (value: string) => NoInfer<Msg> | Required |
ariaLabel | string | 'Tabs' |
orientation | "horizontal" | "vertical" | 'horizontal' |
direction | "ltr" | "rtl" | — |
activateOnFocus | boolean | false |
loopFocus | boolean | true |
keepMounted | boolean | false |
activeLabel | boolean | — |
size | SizeVariant | 'default' |
shape | ShapeVariant | 'rounded' |
reducedMotion | "user" | "always" | "never" | 'user' |
className | string | — |