docs/extensions/font-family-extension.mdx
---
hide_title: true
title: 'FontFamilyExtension'
---
import Basic from '../../website/extension-examples/extension-font-family/basic';
# `FontFamilyExtension`
## Summary
Add a font family to the selected text (or text within a specified range).
## Usage
### Installation
This extension is installed for you when you install the main `remirror` package.
You can use the imports in the following way:
```ts
import { FontFamilyExtension } from 'remirror/extensions';
```
The extension is provided by the `@remirror/extension-font-family` package.
### Examples
<Basic />
## API
- [FontFamilyExtension](../api/extension-font-family)