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
import { Heading } from "@medusajs/ui"
<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
Prop | Type | Default |
---|---|---|
level | "h1" | "h2" | "h3" | "h1" |
Was this section helpful?