Skip to main

Design System

  • Welcome
  • Colors
  • Typography
  • Spacing

CSS

  • Utilities
  • Compositions

Component Library

  • Aside
  • Audio Player
  • Authors
  • Banners
  • Block quotes
  • Brand
  • Breadcrumbs
  • Browser compatibility table
  • Button
  • Callout
  • Cards
  • Carousel
  • Code blocks
  • Compare
  • Counter
  • Details
  • Ellipsis
  • Eyebrow
  • Floating Action Button
  • Feature Card
  • Figure
  • Fixed width Image
  • Form Fields
  • Headline
  • Hero
  • Hero Image
  • Icon Button
  • Indicator
  • Labels
  • Lists
  • Numbered headers
  • Page Header
  • Pagination
  • Pill
  • Preview Pagination
  • Prose
  • Spinner
  • Stack Nav
  • Stats
  • Status List
  • Tables
  • Tabs
  • Generated table of contents
  • Toggle Switch
  • Tooltips

Typography

Sizes Fonts

Sizes

Text sizes follow a fluid scale, meaning that text scales based on the size of the viewport and follows a sizing ratio.

Base (min: 16px / max: 16px)

Size 0 (min: 12px / max: 14px)

Size 1 (min: 16px / max: 18px)

Size 2 (min: 18px / max: 20px)

Size 3 (min: 20px / max: 28px)

Size 4 (min: 24px / max: 36px)

Size 5 (min: 28px / max: 48px)

Size 6 (min: 36px / max: 60px)


Usage

Utility Class Sass function
.text-base get-size('base')
.text-size-0 get-size('size-0')
.text-size-1 get-size('size-1')
.text-size-2 get-size('size-2')
.text-size-3 get-size('size-3')
.text-size-4 get-size('size-4')
.text-size-5 get-size('size-5')
.text-size-6 get-size('size-6')

Fonts

Base

System fonts - main content.

Brand

Google Sans - headings.

Mono

Code samples etc.


Usage

Utility Class Sass mixin
.font-base @include apply-utility('font', 'base')
.font-brand @include apply-utility('font', 'brand')
.font-mono @include apply-utility('font', 'mono')

We want to help you build beautiful, accessible, fast, and secure websites that work cross-browser, and for all of your users. This site is our home for content to help you on that journey, written by members of the Chrome team, and external experts.

Contribute

  • File a bug
  • View source

Related content

  • developer.chrome.com
  • Chrome updates
  • Case studies
  • Podcasts
  • Shows

Connect

  • Twitter
  • YouTube
  • Google Developers
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms & Privacy
  • Community Guidelines

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies.