Skip to content

Typography ​

Use typography to make content readable and beautiful

Overview · Fonts · Type scale & tokens · Applying type · Editorial treatments

Editorial treatments ​

Editorial treatments are standalone, showcase moments driven by type. They involve dynamic, attention-grabbing use of custom sizes, which can involve larger display type or a blockier look and feel. They should depart from purely functional layouts or basic stages in a user flow. 

In the expressive system, editorial treatments can be combined with elements such as motion, shape, or color, to create product-wide hero moments.

A series of editorial moments making dynamic use of type, including a calculator, lock screen, and temperature.

In editorial treatments, type can freely dominate the screen

Examples of editorial treatments ​

Use editorial treatments in three key ways: to celebrate content, to highlight the voice of the user, or to draw attention to bespoke functionality within the product.

Celebrating content ​

Editorial treatments can dramatically take over the screen to mark a particular user action, memory, or preference.

Try matching the text to the tone of the product or a strong emotion, like a narrow, thin style for serenity, or a bolder, italicized style for liveliness.

Large type reading “Mesa Verde National Park” with a hiker in the foreground.

Use an exuberant cover image for a photo album, here shown with Roboto Flex

Voice of the user ​

Express the voice of the user by letting them personalize the appearance of typography or by adjusting text based on their input.

Use customization selectively to frame a user’s mood and make it stand out.

A text exchange in which one party is responding enthusiastically in extremely large letters.

A response with the right type treatment can convey ecstatic emotion. Here, the text is shown in Roboto Flex and PT Serif Caption.

Bespoke functionality ​

Editorial treatments can also be used to help express moments of unique functionality within the product experience.

A slider to adjust bedroom lights. The characters increase in width and weight as the brightness is increased.

The increase in the bedroom light brightness prompts an algorithmic response in the width and weight axes

Editorial treatment best practices ​

As there is intentionally much room for choice in developing editorial treatments, there are a few guard rails that will prevent inconsistency, illegibility, or distracting design.

These best practices include:

  • Ensuring consistency between similar-looking editorial moments, creating tokens for each where needed
  • Matching the emotional tone of text to the task at hand
  • Not mixing multiple or clashing styles in the same layout
  • Not mimicking personalization theming

Do

A UI showing two instances of editorial treatments with consistent styling.

Create tokens for editorial treatments to apply them consistently in your product

Caution

A UI featuring a name in which the first is using a different custom type treatment than the last.

Use caution when mixing different editorial treatments in the same layout. Try to keep them consistent.

Use variable axes to make editorial treatments ​

Adjust variable font axes like weight, grade, width, and optical size to match the font to the feeling. Baseline and emphasized type styles can still be used. Though, editorial treatments shouldn’t be used in labels or just to give information.

Weight ​

Weight is the primary attribute that defines the overall thickness of a typeface’s strokes in any given font. The most common weights are regular and bold, but weights can cover extremes from the very light to the very heavy.

If the typeface is variable, it provides a full, continuous range of stroke thicknesses, making the number of weights effectively unlimited.

Learn more about weight on Google Fonts

Many examples of Roboto Flex weights.

A variable font, Roboto Flex offers a fluid range of weights

Caution

Light text in use as body text.

Be careful when using very light weight for body text. Lower-resolution displays can struggle to show thin typography, especially at small sizes. Instead, consider lighter weights at larger font sizes, such as display type.

Caution

Navigation bar using bold typography for label text, making it challenging to read.

Excessive weight at smaller sizes can make text harder to read

Grade ​

Grade is a secondary modifier of a typeface’s optical weight, independent of the weight axis. Both weight and grade axes affect a letter’s thickness, but adjustments with grade are much more granular and don’t change any letter widths or line breaks.

Learn more about grade on Google Fonts

Three ampersands set in Roboto Flex without grade over Roboto Flex with 150 grade.

Roboto Flex offers a positive grade of 150 and a negative grade of 200

A light and dark screen each showing the letter B.

When switching between dark and light mode, the same text may appear heavier despite having the same settings. Consider using a negative grade to counteract this.

A list of amenities where the filter chip for “Elevator” and “Cats OK” are selected and have a heavier grade applied.

Grade can change the emphasis without reflowing text

Width ​

Width is the result of how much horizontal space is taken up by a typeface’s characters.

A narrow width allows more characters to fit per line while a wider width may offer more personality.

Learn more about width on Google Fonts

The letter ‘N’, set in Roboto Flex, rendered in varying widths.

Roboto Flex offers a fluid range of widths, from 25 to 150

Do

A bottom navigation bar with four icons using narrow label text under the icons.

A thinner width can allow for more characters to fit at small sizes, such as in a label

Don't

Top app bar with the title best thrift stores in wide type next to three icons.

Since wider styles take up more space, avoid using them for areas with limited space, such as in a top app bar

Optical size ​

Optical sizes are different versions of a typeface optimized for use at different sizes.

Small size designs focus on enhancing readability, while large size designs can show off the intricacies of the letter forms and offer many more weights and widths.

Learn about choosing typefaces that have optical sizes.


The word hello at a small optical size overlaid over the word hello at a large optical size.

The typeface Literata has a continuous range of optical size, from 7pt to 72pt

Do

The words “massive” and “tiny” with optical sizes that match their type size.

Use an optical size that matches your type size

Don't

Two paragraphs of text set with an optical size larger than the type size.

Don’t use large optical type sizes at small sizes. Instead use a smaller optical size, if available.

Unofficial offline mirror. Content © Google, licensed under CC BY 4.0.