Tabs

A segmented control for switching between content panels.

Install

npx shadcn add @clearly/tabs

Preview

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

PropTypeDefaultDescription
valuestringActive tab (controlled).
defaultValuestringInitial tab.
onValueChange(value: string) => voidTab change callback.
orientation"horizontal" | "vertical""horizontal"Tab layout direction.