Skip to content
satin

Area chart

The line chart with its area filled down to the baseline in a fading gradient.

Covers

2,335+8.4%

Oct 26 – Nov 1, 2026 · vs previous period

Installation

Terminal
npm i @uisatin/ui
Import
import { AreaChart } from '@uisatin/ui/area-chart'

About 50.8 kB of JavaScript, minified and gzipped, with what it imports (React aside). The stylesheet is one file for every component.

First time with Satin? Set it up once, styles and fonts included, with the installation guide.

API Reference

The AreaCard component is LineCard with the area under the line filled: chart/3 fading from 28% at the line to nothing at the baseline.

PropTypeDefault
title
string
—
range
string
—
data
ChartDatum[]
—
total
string
—
change
string
—
periods
string[]string[][]
—
value
string
—
onPeriodChange
(period) => void
—
unit
string
—
labelEvery
number
—
formatValue
(value) => string
—
reducedMotion
boolean
—
highlight
number
—

Accessibility

The same as the Line chart: the card is role="figure" labelled by its title, and the plot is one tab stop, a role="group" named "title, 12 points". Focusing it picks the last point, and a polite live region reads the picked point as "label: value". The line, area and axes are hidden.

KeyAction
TabFocuses the plot and picks the last point.
←or→Picks the previous or next point; stops at the ends.