Tabs

Pill, segment, or underline tabs with an indicator that slides to the selected tab.

Preview

Pill
A short summary of the project.
Segment
Underline

Install

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

$ bunx --bun shadcn add @easeui/tabs

API Reference

ComponentPropTypeDefaultDescription
Tabsvalue?string--
TabsdefaultValue?string--
TabsonValueChange?((value: string) => void)--
Tabsvariant?"underline" | "pill" | "segment"pillVisual style. Default "pill".
TabsclassName?string--
TabsListclassName?string--
TabsTriggervaluestring--
TabsTriggerclassName?string--
TabsTriggerindicatorClassName?string--
TabsContentvaluestring--
TabsContentclassName?string--

Updated