sigilUI

Hero

Hero section with headline, description, and CTA action buttons.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<Hero title="Build faster with Sigil" />

With description and actions

<Hero
  title="Ship beautiful interfaces"
  description="A token-driven design system that adapts to any brand in one command."
  actions={[
    { label: "Get Started", href: "/docs", variant: "primary" },
    { label: "View on GitHub", href: "https://github.com", variant: "secondary" },
  ]}
/>

Ghost action style

<Hero
  title="Minimal hero"
  actions={[{ label: "Learn more", href: "#", variant: "ghost" }]}
/>

With children

<Hero title="Custom content below">
  <div className="mt-8">
    <img src="/hero-visual.png" alt="Visual" />
  </div>
</Hero>

Props

PropTypeDefaultDescription
titleReactNode—Headline text
descriptionReactNode—Supporting description
actionsHeroAction[]—CTA buttons ({ label, href?, variant?, onClick? })
childrenReactNode—Additional content below actions
classNamestring—Additional CSS classes