| 1 |
--- |
| 2 |
id: 'Hero' |
| 3 |
beta: true |
| 4 |
section: components |
| 5 |
cssPrefix: pf-v6-c-hero |
| 6 |
---## Examples |
| 7 |
|
| 8 |
### Basic |
| 9 |
|
| 10 |
```html isBeta |
| 11 |
<div class="pf-v6-c-hero"> |
| 12 |
<div class="pf-v6-c-hero__body">Basic hero content</div> |
| 13 |
</div> |
| 14 |
|
| 15 |
``` |
| 16 |
|
| 17 |
## Documentation |
| 18 |
|
| 19 |
### Usage |
| 20 |
|
| 21 |
| Class | Applied to | Outcome | |
| 22 |
| -- | -- | -- | |
| 23 |
| `.pf-v6-c-hero` | `<div>` | Initiates the hero. **Required** | |
| 24 |
| `.pf-v6-c-hero__body` | `<div>` | Initiates the hero body. | |
| 25 |
| `.pf-m-glass` | `.pf-v6-c-hero` | Applies glass styles when glass theme is enabled. | |