Tabs

Pill, segment or underline tabs with a spring layoutId indicator.

Preview

Pill
High-level summary.
Overflow
Segment
Underline

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @beui/tabs

API Reference

Tabs

defaultValue?
string
—
value?
string
—
onValueChange?
((v: string) => void)
—
variant?
"underline" | "pill" | "segment"
pill
className?
string
—

TabsList

className?
string
—

TabsTrigger

className?
string
—

TabsContent

value
string
—
className?
string
—

Updated