sigilUI

Hero

Introduce a page with a headline, description, and actions.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<Hero title="Build with shared design tokens" description="Choose a preset and compose your interface." actions={[{ label: "Get started", href: "/docs/installation" }]} />

Props

PropTypeDefaultDescription
titleReactNode—Headline text.
descriptionReactNode—Supporting description text.
actionsHeroAction[]—CTA action buttons.

Token integration

CSS VariablePurpose
--s-primaryPrimary
--s-primary-contrastPrimary contrast
--s-primary-hoverPrimary hover
--s-shadow-smShadow sm
--s-surfaceSurface
--s-textText
--s-borderBorder
--s-surface-elevatedSurface elevated
--s-hero-padding-yHero padding y
--s-hero-padding-xHero padding x
--s-page-marginPage margin
--s-hero-min-heightHero min height