This library is still in development and is available only for internal usage at VTEX.
Skip to main content

Heading

Heading

Version: 0.136.0

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

NameTypeDescriptionRequiredDefault
level1 or 2 or 3 or 4 or 5 or 6Optional level🚫-
childrenReactnode-🚫-