Soundstripe Design System

Heading

This component is used to render text headings in a variety of styles based on Soundstripe theme tokens.

Props

Need to get props here.

Usage

It's important to remember that heading size and heading level are not the same thing. To improve accessibility, Heading levels should be used to reflect the page structure and hierarchy. Size can be added as a prop.

By default, the Heading component renders at the h2 level and size.

The heading component lets us change level and size in order to follow both the page structure and layout design.

Heading Size Settings

Size
Example
Font Size/Line Height
h1

Heading size one

Mobile: 32px/40px

Desktop: 40px/48px

h2

Heading size two

Mobile: 28px/36px

Desktop: 32px/40px

h3

Heading size three

24px/32px

h4

Heading size four

20px/28px

h5
Heading size five

16px/24px