# 28. Typography

![](https://2194051268-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPJdxe1K-sVbh8qB1ld%2F-MS2IYkMTq5sVASK2J99%2F-MS2Il5RxEPM8Z8u6on6%2Fimage.png?alt=media\&token=8f05bf95-30a9-41a5-85be-3b00aeb9236f)

```
'typography' => array(
    'type' => 'typography',
    'label' => esc_html__('Typography', 'my-domain'),
    'excluded' => array(
        'font-family',
        'backup-font'
    )
),
```

Also, you can exclude fields from component:

```
'typography_excluded' => array(
    'type' => 'typography',
    'label' => esc_html__('Typography', 'my-domain'),
    'excluded' => array(
        'backup-font',
        'font-size',
        'font-weight',
        'line-height',
        'letter-spacing',
        'word-spacing',
        'text-transform',
        'color'
    )
),
```

![](https://2194051268-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPJdxe1K-sVbh8qB1ld%2F-MSlgfb4pszLwbi6m4Dr%2F-MSlkEPMTc1lwNw6xB6g%2Fimage.png?alt=media\&token=3dd4677c-a7db-4f88-82d5-73f9a9d64280)
