---
title: "タイポグラフィ"
slug: "typography"
abstract: "Search UI Componentsのデフォルトテーマに組み込まれたあらかじめ定義されたタイポグラフィ値。"
---
# タイポグラフィ

デフォルトのテーマは、レイアウトグリッドと相性が良いスタイルとフォントサイズのセットを提供します。テーマの作成や使用の詳細については、「[テーマとスタイル](https://doc.sitecore.com/search/ja/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")」を参照してください。

タイポグラフィオブジェクトのデフォルトフォントサイズは以下の例で表示されます。

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

以下のコードブロックでは、すべてのプロパティを持つデフォルトのタイポグラフィオブジェクトを見ることができます。

{
 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"
 }
 }
});