Custom Tabs
Tab bar with labelled panels in scrollable and fixed layouts.
Installation
bun add @xerobi/ui
import { CustomTabs } from "@xerobi/ui/custom-tabs"This component is client-side. In Astro, hydrate it with a client directive.
API reference
CustomTabs
Segmented tab list: a neutral track with a white raised pill under the selected tab. Use inside `<Tabs>`, with the regular `<TabsTrigger>` for each tab.
No props of its own.
Styling hooks: [data-slot="custom-tabs"].