Tabs
A segmented control for switching between content panels.
Install
npx shadcn add @clearly/tabsPreview
Overview content goes here.
Usage
import { Tabs } from "@/components/ui/tabs"
<Tabs />Every Clearly component also accepts glass (subtle·medium·strong), specular and className.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | — | Active tab (controlled). |
defaultValue | string | — | Initial tab. |
onValueChange | (value: string) => void | — | Tab change callback. |
orientation | "horizontal" | "vertical" | "horizontal" | Tab layout direction. |