Hero
The Hero component allows you to add a full-width banner to your webpage. Optionally, it can also span the full height of the page. Create an imposing hero banner to showcase your content.
How it works #
The Hero component creates a prominent, full-width banner section for your page, ideal for highlighting key content or messages. It can be used for headers, introductions, or calls to action.
How to use:
This demo shows the basic structure for a hero banner, making it easy to highlight important information at the top of your page.
How to use:
- Add the
Herocomponent to your page to create a banner area. - Place a
HeroBodyinside theHeroto define the main content area. - Use
HeroTitleandHeroSubTitlewithinHeroBodyto display the main title and subtitle.
Hero title
Hero subtitle
<Hero>
<HeroBody>
<HeroTitle>Hero title</HeroTitle>
<HeroSubTitle>Hero subtitle</HeroSubTitle>
</HeroBody>
</Hero>