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

Heading

Version: 0.134.0

Heading

By default, <Heading> renders a <h1> with reset styles.

Behavior

Heading 1

Import

import { Heading } from '@vtex/admin-ui'

Variation

Headers

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Props

Besides the props listed bellow, you can use all the props accepted by the h JSX element.

NameTypeDescriptionRequiredDefault
asReact.ComponentTypeElement to render🚫'h1'