Text styles
Apply a style whole with @include text-style(name).
Specimens show each style's size, weight, line height and letter spacing. The letterforms are this site's Inter: Inter Display is not loaded here, so the shape of the type is the one thing a preview cannot show you.
Heading
| Name and code | Family | Weight | Size | Line height | Letter spacing |
|---|---|---|---|---|---|
| md-medium | Inter Display | md-medium/weight | md-medium/size | 1.2 | 0 |
| sm-medium | Inter Display | sm-medium/weight | sm-medium/size | 1.2 | 0 |
| xl-semibold | Inter Display | xl-semibold/weight | xl-semibold/size | 1.1 | -0.02em |
| lg-semibold | Inter Display | lg-semibold/weight | lg-semibold/size | 1.2 | -0.02em |
| md-semibold | Inter Display | md-semibold/weight | md-semibold/size | 1.2 | 0 |
| sm-semibold | Inter Display | sm-semibold/weight | sm-semibold/size | 1.2 | 0 |
| xs-semibold | Inter Display | xs-semibold/weight | xs-semibold/size | 1.2 | 0 |
| xs-medium | Inter Display | xs-medium/weight | xs-medium/size | 1.2 | 0 |
| 2xs-semibold | Inter | 2xs-semibold/weight | 2xs-semibold/size | 1.2 | -0.015em |
| 2xs-medium | Inter | 2xs-medium/weight | 2xs-medium/size | 1.2 | -0.015em |
md-medium
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
sm-medium
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
xl-semibold
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
lg-semibold
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
md-semibold
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
sm-semibold
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
xs-semibold
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
xs-medium
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
2xs-semibold
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
2xs-medium
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
Link
Every style here is set in Inter.
| Name and code | Weight | Size | Line height | Letter spacing |
|---|---|---|---|---|
| md-medium | md-medium/weight | md-medium/size | 1.5 | -0.01em |
| lg-medium | lg-medium/weight | lg-medium/size | 1.5 | -0.015em |
md-medium
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
lg-medium
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
Label
Every style here is set in Inter.
| Name and code | Weight | Size | Line height | Letter spacing |
|---|---|---|---|---|
| lg-medium | lg-medium/weight | lg-medium/size | 1.2 | -0.01em |
| md-medium | md-medium/weight | md-medium/size | 1.2 | -0.005em |
| sm-medium | sm-medium/weight | sm-medium/size | 1.2 | 0 |
lg-medium
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
md-medium
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
sm-medium
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
Display
Every style here is set in Inter Display.
| Name and code | Weight | Size | Line height | Letter spacing |
|---|---|---|---|---|
| md-medium | md-medium/weight | md-medium/size | 1 | -0.02em |
md-medium
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
Body
Every style here is set in Inter.
| Name and code | Weight | Size | Line height | Letter spacing |
|---|---|---|---|---|
| xl-regular | xl-regular/weight | xl-regular/size | 1.5 | -0.02em |
| lg-regular | lg-regular/weight | lg-regular/size | 1.5 | -0.015em |
| md-regular | md-regular/weight | md-regular/size | 1.5 | -0.01em |
xl-regular
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
lg-regular
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
md-regular
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.
Code
Every style here is set in JetBrains Mono.
| Name and code | Weight | Size | Line height | Letter spacing |
|---|---|---|---|---|
| md-regular | md-regular/weight | md-regular/size | 1.5 | 0 |
md-regular
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs before the end of the day.