Skip to Content
ComponentsTypographyHeading

Heading

Renders h1h6 with the design-system scale. level controls both the element and the size.

Heading 1

Heading 2

Heading 3

Heading 4

import { Heading } from '@gg-software/ui'; <Heading level={1}>Heading 1</Heading> <Heading level={2}>Heading 2</Heading>

Props

PropTypeDefaultDescription
level2 | 1 | 3 | 4 | 5 | 62
children*ReactNodecontent rendered inside the component
idstring
classNamestring

* required · generated from packages/ui/src/typography/Heading/Heading.tsx