| title | Font family | |
|---|---|---|
| description | Utilities for controlling font family including monospace font stack. | |
| toc | true | |
| utility |
|
import { getData } from '@libs/data'
Change a selection to our monospace font stack with .font-monospace.
<Example code={<p class="font-monospace">This is in monospace</p>} />
Change a selection to our body font stack with .font-body, which defaults to sans-serif.
<Example code={<p class="font-body">This is in body</p>} />
Font family utilities are declared in our utilities API in scss/_utilities.scss. Learn how to use the utilities API.