Hero
An imposing hero banner to showcase something
The hero component allows you to add a full width banner to your webpage, which can optionally cover the full height of the page as well.
To use a Bulma Hero component in your application, you need to import the BulmaHeroModule by adding the following lines to your app.module.ts file.
Basic
To display the Hero component in your Angular application, use the <bu-hero> tag.
| Component | Description |
|---|---|
bu-hero |
Parent Hero Component. |
| Properties | Description |
|---|---|
color |
Set the color of the Hero Component |
size |
Set the size of the Hero Component |
gradient |
Set the gradient of the Hero Component, default value is false |
Hero title
Hero subtitle
Colors
As with buttons, you can choose one of the 8 different colors:
primarylinkinfosuccesswarningdangerlightdark
Primary title
Primary subtitle
Info title
Info subtitle
Success title
Success subtitle
Link title
Link subtitle
Warning title
Warning subtitle
Danger title
Danger subtitle
Light title
Light subtitle
Dark title
Dark subtitle
Sizes
You can have even more imposing banners by using one of 3 different sizes:
mediumlargefullheight
Medium title
Medium subtitle
Large title
Large subtitle
Fullheight title
Fullheight subtitle
Gradients
By setting the value of the gradient property to true, you can generate a subtle gradient.