Heading
Add automatic hierarchy to your page contents so users can easily navigate them. This component is based on the WAI-ARIA Heading Role
Behavior
Loading...
Import
import { Heading, HeadingLevel } from '@vtex/admin-ui'
Examples
Heading level
Loading...
Deprecated as
The as prop is deprecated. Consider using HeadingLevel instead.
Loading...
Props
Heading
All props of h jsx element.
HeadingLevel
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
| level | 1 or 2 or 3 or 4 or 5 or 6 | Optional level | 🚫 | - |
| children | Reactnode | - | 🚫 | - |