Buy me a coffee

Tabs

Panels of content where one shows at a time.

Reka UI Tabs

Line variant

Installation

npx distill-ui add tabs

It installs reka-ui if you don't have it yet.

Customizing

Set any of these on the component or on a parent element. See Customizing for how they work.

Custom propertyDefault
--dui-tabs-list-height2.25rem
--dui-tabs-list-radiusvar(--dui-radius-lg)
--dui-tabs-list-bgvar(--dui-color-muted)
--dui-tabs-trigger-active-bgvar(--dui-color-tab-active)