---
title: "Typography"
slug: "typography"
abstract: "Predefined typographic values built into the default theme for Search UI Components."
---
# Typography

The default theme provides a set of styles and font sizes that work well together and with the layout grid. For details on creating or using themes, refer to [Themes and styles](https://doc.sitecore.com/search/en/developers/search-js-sdk-for-react/ui-components-reference/theme-and-styles.html#UUID-5273a8cc-a9fb-f817-f905-fa07ec117170_section-idm4561569071676834112395933326 "Add a custom theme").

The default font sizes from the typography object are displayed in the following example.

![typography.png](https://doc.sitecore.com/api/markdown-image/search/en/developers/search-js-sdk-for-react/images/typography.png)

In the following code block, you can see the default typography object with all its properties:

```csharp
{
    typography: {
        "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif",
        "fontSize": "14px",
        "lineHeight": "24px",
        "fontWeight": "300",
        "fontSize1": {
            "fontSize": "12px",
            "fontWeight": "400",
            "lineHeight": "24px"
        },
        "fontSize2": {
            "fontSize": "14px",
            "fontWeight": "400",
            "lineHeight": "24px"
        },
        "fontSize3": {
            "fontSize": "16px",
            "fontWeight": "400",
            "lineHeight": "32px"
        },
        "fontSize4": {
            "fontSize": "18px",
            "fontWeight": "400",
            "lineHeight": "32px"
        },
        "fontSize5": {
            "fontSize": "20px",
            "fontWeight": "400",
            "lineHeight": "40px"
        },
        "fontSize6": {
            "fontSize": "22px",
            "fontWeight": "400",
            "lineHeight": "40px"
        },
        "fontSize7": {
            "fontSize": "24px",
            "fontWeight": "400",
            "lineHeight": "48px"
        },
        "fontSize8": {
            "fontSize": "26px",
            "fontWeight": "400",
            "lineHeight": "48px"
        },
        "h1": {
            "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif",
            "fontSize": "28px",
            "fontWeight": "400",
            "lineHeight": "40px"
        },
        "h2": {
            "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif",
            "fontSize": "24px",
            "fontWeight": "400",
            "lineHeight": "36px"
        },
        "h3": {
            "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif",
            "fontSize": "20px",
            "fontWeight": "400",
            "lineHeight": "32px"
        },
        "h4": {
            "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif",
            "fontSize": "18px",
            "fontWeight": "500",
            "lineHeight": "28px"
        },
        "h5": {
            "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif",
            "fontSize": "16px",
            "fontWeight": "500",
            "lineHeight": "24px"
        },
        "h6": {
            "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif",
            "fontSize": "14px",
            "fontWeight": "500",
            "lineHeight": "20px"
        }
    }
});
```