Skip to content
satin

Channel chart

How a total splits across channels: a stacked bar and a legend row per channel.

Revenue by channel

€48,260+5.2%

Oct 26 – Nov 1, 2026

  • Dine-in€29,430
  • Delivery apps€9,650
  • Takeaway€5,790
  • Catering€2,420
  • Gift cards€970

Installation

Terminal
npm i @uisatin/ui
Import
import { ChannelCard } from '@uisatin/ui/channel-chart'

About 49.9 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 ChannelCard component is a wrapper around the div element with a title, a range, an optional period Select, the KPI and the stacked bar.

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

Accessibility

The card is role="figure" labelled by its title. The stacked bar is hidden; the legend is a list named after the title, and each row is a tab stop named "label: value, share%". Focusing a row brings its channel forward. With periods, the Select in the header is named "Period".

KeyAction
TaborShift+TabMoves from channel to channel in the legend.