Skip to content
Browse docs and components

Hero

hero

A marketing hero with an eyebrow, a headline, a supporting paragraph, two calls to action and a frame for a real product screenshot. Every part is composed by you, so the section carries your copy instead of a placeholder.

Responsive

Install

$npxshadcnadd@forme/hero

Adds the component, its registry dependencies, and the token stylesheet you import once.

API reference

Read from the source, so it is the API of the file you install. A prop marked * is required.

Parts

  • HeroTakes <section> attributes
  • HeroEyebrowTakes <p> attributes
  • HeroTitleTakes <h1> attributes
  • HeroDescriptionTakes <p> attributes
  • HeroActionsTakes <div> attributes
  • HeroVisualTakes <div> attributes