Skip to content
Hazine

Heroes

5 of 34 shipped. Opening sections, split by what leads the fold: words, product, proof or interaction.

01 / Headline led

2 of 6 shipped
  • headline led

    Centred opening section with an optional badge, one heading, a supporting paragraph and a primary plus secondary action. Use it as the default text-only hero.

    How it differs. Baseline centred stack: badge, heading, paragraph and two actions in one column, with no media and nothing else above the fold.

    shadcn add @hazine/hero-section

    Depends on badge, button, @hazine/heading, lucide-react

  • headline led

    Hero whose heading ends in a fixed-size slot that cycles through a list of audiences, with pause and step controls and an index of every audience below. Use it when one product serves several kinds of team.

    How it differs. One slot in a start-aligned heading rotates through nouns under a pause and step control, and a hairline index of every noun below marks the one on show. Static full list under reduced motion.

    shadcn add @hazine/hero-rotating-noun

    Depends on button, @hazine/heading, @hazine/use-controllable-state, lucide-react

Planned 4

  • Two-weight statement heroPro
  • Oversized type heroPro
  • Footnoted claim heroPro
  • Headline with section index heroPro

02 / Product shot

1 of 5 shipped
  • product shot

    Heading, two-weight description and actions above one product screenshot held in a window frame, with separate light and dark image sources. Use it as the default product-led hero.

    How it differs. Text stack on top and a single window frame below it, fully visible inside the page width: title bar, hairline and a raised mat in place of a shadow.

    shadcn add @hazine/hero-framed-screenshot

    Depends on aspect-ratio, badge, button, @hazine/heading, lucide-react

Planned 4

  • Bleeding screenshot heroPro
  • Annotated screenshot heroPro
  • Device pair heroPro
  • Layered UI fragments heroPro

03 / Split heroes

1 of 6 shipped
  • split heroes

    Hero with a headline, three checkmarked benefits and trial facts beside a card that holds a working signup form: work email, company size and submit. Use when the page goal is a trial or demo signup.

    How it differs. The media half is a working form card: two labelled fields validate inline, and a valid submit swaps the form for a confirmation that echoes the address and the chosen size.

    shadcn add @hazine/hero-split-signup-form

    Depends on button, card, input, label, select, @hazine/heading, @hazine/use-controllable-state, lucide-react

Planned 5

  • Split media hero
  • Split feature list heroPro
  • Split testimonial heroPro
  • Asymmetric hero with summary railPro
  • Split stacked cards heroPro

04 / Interactive heroes

0 of 5 shipped

Planned 5

  • Prompt input heroPro
  • Live playground heroPro
  • Comparison slider heroPro
  • Live search results heroPro
  • Inline calculator heroPro

05 / Proof led

0 of 4 shipped

Planned 4

  • Logo strip hero
  • Rating breakdown heroPro
  • Quote headline heroPro
  • Metric trio heroPro

06 / Install and code heroes

1 of 4 shipped
  • install and code heroes

    Heading and a two-weight intro above an inverted monospace command pill with a prompt glyph and a labelled copy action, then a footnote and links to docs and the repository. Use as the default hero for a CLI or package.

    How it differs. One command and one copy action: the inverted pill is the primary call to action, split by a hairline into command and copy cell, which stack when the container is narrower than 32rem.

    shadcn add @hazine/hero-command-pill

    Depends on button, @hazine/heading, @hazine/use-controllable-state, lucide-react, class-variance-authority

Planned 3

  • Code and output heroPro
  • Terminal walkthrough heroPro
  • Package manager tabs heroPro

07 / Announcement and launch

0 of 4 shipped

Planned 4

  • Release version heroPro
  • Event countdown heroPro
  • Milestone note heroPro
  • Video keynote heroPro