sigilUI

Segmented Tabs

Switch panels from a compact segmented tab list.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { SegmentedTabs } from "@sigil-ui/components";

Usage

<SegmentedTabs items={[{ value: "preview", label: "Preview" }, { value: "code", label: "Code" }]} />

CLI

npx @sigil-ui/cli add segmented-tabs

Token Integration

SegmentedTabs follows the Sigil component rules: styles resolve from var(--s-*), class names are mergeable through className, and the component is exported from @sigil-ui/components.