Heading

Text component used for page titles and other headers

This is an H1 heading

This is an H2 heading

This is an H3 heading

Was this example helpful?

Usage#


Code
import { Heading } from "@medusajs/ui"
Code
<Heading>A Title</Heading>

API Reference#


This component is based on the heading element (h1, h2, etc...) depeneding on the specified level and supports all of its props

PropTypeDefault
level
"h1"
|"h2"
|"h3"
"h1"
Was this page helpful?