sigilUI

Feature Showcase Section

Alternating rows of text and media for deep-dive feature explanations.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<FeatureShowcaseSection title="A system that stays consistent" rows={[{ title: "Shared tokens", description: "Change a token to update every component that uses it.", media: <CommitGrid weeks={12} responsive data={Array.from({ length: 84 }, (_, i) => ({ date: new Date(Date.UTC(2026, 0, i + 1)).toISOString().slice(0, 10), count: (i * 7) % 13 }))} /> }, { title: "Clear data", description: "Use the same palette across charts and interface controls.", media: <SparkLine data={[4, 7, 5, 10, 9, 14]} /> }]} />

Odd-numbered rows automatically swap text and media sides.

Props

PropTypeDefaultDescription
labelstring—Uppercase mono label
titleReactNode—Section heading (omit to hide)
descriptionstring—Supporting text
rowsFeatureShowcaseRow[]requiredArray of { label?, title, description, media, actions? }
classNamestring—Additional CSS classes

Each actions item is { label, href? }. Plus all standard <section> HTML attributes.