sigilUI

Hero Section

Compose a complete introductory section with visual content.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<HeroSection title="Build faster" description="A token-driven design system for modern React apps." />

Props

PropTypeDefaultDescription
badgeReactNode—Badge configuration.
title (required)ReactNode—Heading displayed in the component.
descriptionReactNode—Supporting text below the heading.
actionsHeroAction[]—Actions configuration.
installCommandstring—Install Command configuration.
mediaReactNode—Media configuration.
align"left" | "center"—Align configuration.

Token integration

CSS VariablePurpose
--s-hero-padding-yHero padding y
--s-hero-min-heightHero min height
--s-content-maxContent max
--s-hero-padding-xHero padding x
--s-page-marginPage margin
--s-hero-badge-gapHero badge gap
--s-font-displayFont display
--s-heading-weightHeading weight
--s-hero-title-sizeHero title size
--s-heading-trackingHeading tracking
--s-textText
--s-hero-title-max-widthHero title max width