Rate this page:

Heading

A component used to display a heading.

Usage

1
import ForgeUI, { Heading } from '@forge/ui';

Props

NameTypeRequiredDescription
childrenstringYesThe text of the heading.
size'small' | 'medium' | 'large'The size of the heading. Defaults to medium.

Example

A heading with some text below it.

1
2
3
4
<Heading size="large">Title</Heading>
<Text>
    Paragraph text goes here.
</Text>

Preview

Screenshot of what the rendered heading should look like

Rate this page: