sigilUI

Content Tabs

Organize related content into labeled panels.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<ContentTabs tabs={[{ value: "preview", label: "Preview", content: "Preview content" }, { value: "code", label: "Code", content: "Code content" }]} />

CLI

npx @sigil-ui/cli add content-tabs

Token Integration

ContentTabs 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.