mirror of
https://github.com/zooai/design.git
synced 2026-10-30 14:50:04 +00:00
Monochrome, dark by default. One hue rendered through an opacity ladder. Tokens (color, type, spacing, radius, elevation, motion) + core/forms/navigation/ overlays components + brand guidelines + ui kit. The single source of truth for every Zoo surface — loadable and editable.
11 lines
608 B
TypeScript
11 lines
608 B
TypeScript
/** Segmented tab bar above a panel. Active tab is a neutral-1a chip with a hairline.
|
|
export interface TabsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
defaultValue?: string;
|
|
value?: string;
|
|
onValueChange?: (value: string) => void;
|
|
}
|
|
export function Tabs(props: TabsProps): JSX.Element;
|
|
export function TabsList(props: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
export function TabsTrigger(props: React.ButtonHTMLAttributes<HTMLButtonElement> & { value: string }): JSX.Element;
|
|
export function TabsContent(props: React.HTMLAttributes<HTMLDivElement> & { value: string }): JSX.Element;
|