Subheading

Useful for rendering section headings.

Subheading component

Props

PropTypeDescription
childrenReactNodeThe content to render
size0 | 1The size to apply
truncateBooleanWhether it should truncate or not

This component supports all common props.

Examples

Size

There are 2 sizes to choose from.

Subheading component

Subheading component

Text truncation

When true this will truncate your text based on its maximum width.

Subheading component