Components/Sparkline

Sparkline

A small trend line for table cells and stat tiles, with the latest point marked.

Overview

A tiny trend line beside a number. The line stays quiet and the latest point is marked, so it adds context without competing with the value.

What it does

  • Show a year of a number's history in a table cell
  • Sit beside the value on stat tiles and dashboard metrics
  • Name where the trend started and ended for screen readers

Try it

  1. 1Compare the shapes against each customer's growth rate

Everything works in the live preview above.

Used in