Typography

Documentation and examples for the typography system. Built on top of Material UI Typography with custom styling using the Inter font family.

Typography Scale

The complete typography scale used throughout the application. All variants are based on the Inter font family.

Heading 1variant="h1"

The quick brown fox

Size: 4.5remLine Height: 5.625rem (125%)Letter Spacing: -2%
Heading 2variant="h2"

The quick brown fox

Size: 3.75remLine Height: 4.5rem (120%)Letter Spacing: -2%
Heading 3variant="h3"

The quick brown fox

Size: 3remLine Height: 3.75rem (125%)Letter Spacing: -2%
Heading 4variant="h4"

The quick brown fox jumps

Size: 2.25remLine Height: 2.75rem (122%)Letter Spacing: -2%
Heading 5variant="h5"
The quick brown fox jumps over
Size: 1.875remLine Height: 2.375rem (127%)
Heading 6variant="h6"
The quick brown fox jumps over the lazy dog
Size: 1.5remLine Height: 2rem (133%)
Subtitle 1variant="subtitle1"
The quick brown fox jumps over the lazy dog
Size: 1.25remLine Height: 1.875rem (150%)
Subtitle 2variant="subtitle2"
The quick brown fox jumps over the lazy dog
Size: 1.125remLine Height: 1.75rem (156%)
Body 1variant="body1"

The quick brown fox jumps over the lazy dog. This is the default body text style.

Size: 1remLine Height: 1.5rem (150%)
Body 2variant="body2"

The quick brown fox jumps over the lazy dog. This is a smaller body text style.

Size: 0.875remLine Height: 1.25rem (143%)
Captionvariant="caption"
The quick brown fox jumps over the lazy dog
Size: 0.75remLine Height: 1.125rem (150%)
Overlinevariant="overline"
THE QUICK BROWN FOX
Size: 0.625remLine Height: 1rem (160%)

Font Weights

Available font weight variations. Use the fontWeight prop to apply different weights.

Regular (400)fontWeight={400}
The quick brown fox jumps over the lazy dog
Medium (500)fontWeight={500}
The quick brown fox jumps over the lazy dog
SemiBold (600)fontWeight={600}
The quick brown fox jumps over the lazy dog
Bold (700)fontWeight={700}
The quick brown fox jumps over the lazy dog

Props Reference

Common props available on the Typography component.

PropTypeDefaultDescription

variant

string

"body1"

h1, h2, h3, h4, h5, h6, subtitle1, subtitle2, body1, body2, caption, overline

fontWeight

number | string

400 (regular), 500 (medium), 600 (semiBold), 700 (bold)

color

string

"inherit"

text.primary, text.secondary, text.disabled, primary, secondary, error

align

string

"inherit"

left, center, right, justify

gutterBottom

boolean

false

Adds margin-bottom to the text

noWrap

boolean

false

Prevents text wrapping and adds ellipsis on overflow

component

elementType

Override the rendered HTML element (e.g., 'span', 'div')