PageTitle
Page heading. Bold with tight tracking: text-2xl on phones and text-3xl from the sm breakpoint.
Minion HQ
Smaller, rendered as an h2
Props
asElementTypeDefault:'h1'Element to render.
classNamestringDefault:''Extra classes for the root element.
childrenReactNodeContent.
...restAny other props are passed to the underlying element.
| Prop | Type | Default | Description |
|---|---|---|---|
as | ElementType | 'h1' | Element to render. |
className | string | '' | Extra classes for the root element. |
children | ReactNode | – | Content. |
...rest | – | Any other props are passed to the underlying element. |