Typography

constructor(displayLarge: TextStyle = TypographyTokens.DisplayLarge, displayMedium: TextStyle = TypographyTokens.DisplayMedium, displaySmall: TextStyle = TypographyTokens.DisplaySmall, headlineLarge: TextStyle = TypographyTokens.HeadlineLarge, headlineMedium: TextStyle = TypographyTokens.HeadlineMedium, headlineSmall: TextStyle = TypographyTokens.HeadlineSmall, titleLarge: TextStyle = TypographyTokens.TitleLarge, titleMedium: TextStyle = TypographyTokens.TitleMedium, titleSmall: TextStyle = TypographyTokens.TitleSmall, bodyLarge: TextStyle = TypographyTokens.BodyLarge, bodyMedium: TextStyle = TypographyTokens.BodyMedium, bodySmall: TextStyle = TypographyTokens.BodySmall, labelLarge: TextStyle = TypographyTokens.LabelLarge, labelMedium: TextStyle = TypographyTokens.LabelMedium, labelSmall: TextStyle = TypographyTokens.LabelSmall, displayLargeEmphasized: TextStyle = TypographyTokens.DisplayLargeEmphasized, displayMediumEmphasized: TextStyle = TypographyTokens.DisplayMediumEmphasized, displaySmallEmphasized: TextStyle = TypographyTokens.DisplaySmallEmphasized, headlineLargeEmphasized: TextStyle = TypographyTokens.HeadlineLargeEmphasized, headlineMediumEmphasized: TextStyle = TypographyTokens.HeadlineMediumEmphasized, headlineSmallEmphasized: TextStyle = TypographyTokens.HeadlineSmallEmphasized, titleLargeEmphasized: TextStyle = TypographyTokens.TitleLargeEmphasized, titleMediumEmphasized: TextStyle = TypographyTokens.TitleMediumEmphasized, titleSmallEmphasized: TextStyle = TypographyTokens.TitleSmallEmphasized, bodyLargeEmphasized: TextStyle = TypographyTokens.BodyLargeEmphasized, bodyMediumEmphasized: TextStyle = TypographyTokens.BodyMediumEmphasized, bodySmallEmphasized: TextStyle = TypographyTokens.BodySmallEmphasized, labelLargeEmphasized: TextStyle = TypographyTokens.LabelLargeEmphasized, labelMediumEmphasized: TextStyle = TypographyTokens.LabelMediumEmphasized, labelSmallEmphasized: TextStyle = TypographyTokens.LabelSmallEmphasized)


constructor(displayLarge: TextStyle = TypographyTokens.DisplayLarge, displayMedium: TextStyle = TypographyTokens.DisplayMedium, displaySmall: TextStyle = TypographyTokens.DisplaySmall, headlineLarge: TextStyle = TypographyTokens.HeadlineLarge, headlineMedium: TextStyle = TypographyTokens.HeadlineMedium, headlineSmall: TextStyle = TypographyTokens.HeadlineSmall, titleLarge: TextStyle = TypographyTokens.TitleLarge, titleMedium: TextStyle = TypographyTokens.TitleMedium, titleSmall: TextStyle = TypographyTokens.TitleSmall, bodyLarge: TextStyle = TypographyTokens.BodyLarge, bodyMedium: TextStyle = TypographyTokens.BodyMedium, bodySmall: TextStyle = TypographyTokens.BodySmall, labelLarge: TextStyle = TypographyTokens.LabelLarge, labelMedium: TextStyle = TypographyTokens.LabelMedium, labelSmall: TextStyle = TypographyTokens.LabelSmall)

The Material Design type scale includes a range of contrasting styles that support the needs of your product and its content.

Use typography to make writing legible and beautiful. Material's default type scale includes contrasting and flexible styles to support a wide range of use cases.

The type scale is a combination of thirteen styles that are supported by the type system. It contains reusable categories of text, each with an intended application and meaning.

To learn more about typography, see Material Design typography.

Parameters

displayLarge

displayLarge is the largest display text.

displayMedium

displayMedium is the second largest display text.

displaySmall

displaySmall is the smallest display text.

headlineLarge

headlineLarge is the largest headline, reserved for short, important text or numerals. For headlines, you can choose an expressive font, such as a display, handwritten, or script style. These unconventional font designs have details and intricacy that help attract the eye.

headlineMedium

headlineMedium is the second largest headline, reserved for short, important text or numerals. For headlines, you can choose an expressive font, such as a display, handwritten, or script style. These unconventional font designs have details and intricacy that help attract the eye.

headlineSmall

headlineSmall is the smallest headline, reserved for short, important text or numerals. For headlines, you can choose an expressive font, such as a display, handwritten, or script style. These unconventional font designs have details and intricacy that help attract the eye.

titleLarge

titleLarge is the largest title, and is typically reserved for medium-emphasis text that is shorter in length. Serif or sans serif typefaces work well for subtitles.

titleMedium

titleMedium is the second largest title, and is typically reserved for medium-emphasis text that is shorter in length. Serif or sans serif typefaces work well for subtitles.

titleSmall

titleSmall is the smallest title, and is typically reserved for medium-emphasis text that is shorter in length. Serif or sans serif typefaces work well for subtitles.

bodyLarge

bodyLarge is the largest body, and is typically used for long-form writing as it works well for small text sizes. For longer sections of text, a serif or sans serif typeface is recommended.

bodyMedium

bodyMedium is the second largest body, and is typically used for long-form writing as it works well for small text sizes. For longer sections of text, a serif or sans serif typeface is recommended.

bodySmall

bodySmall is the smallest body, and is typically used for long-form writing as it works well for small text sizes. For longer sections of text, a serif or sans serif typeface is recommended.

labelLarge

labelLarge text is a call to action used in different types of buttons (such as text, outlined and contained buttons) and in tabs, dialogs, and cards. Button text is typically sans serif, using all caps text.

labelMedium

labelMedium is one of the smallest font sizes. It is used sparingly to annotate imagery or to introduce a headline.

labelSmall

labelSmall is one of the smallest font sizes. It is used sparingly to annotate imagery or to introduce a headline.