Imagine ArtImagine Art

Organizes content into switchable panels, allowing users to navigate between related views.

Navigation

Import

import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui"

API

PropTypeDefaultDescription
defaultValuestringInitially active tab value.
valuestringControlled active tab value.
onValueChange(value: string) => voidCallback when the active tab changes.
variant"primary" | "secondary" | "brand""primary"Visual style of the tab triggers.
size"sm" | "md" | "lg""md"Tab trigger size.

Examples