Dashboards that look like the product.
Charts should not feel bolted on. ViraUI charts paint stroke, fill, and chrome from the same theme tokens as the rest of the UI — so plots follow light and dark, and the dashboard reads as one product.
It sits beside @viraui/react as a peer, not a second design system. Compose with the visx primitives you already know; keep theme and setup shared so agents and humans ship analytics that still look like ViraUI.
Your series.
Your tokens.
Series paint · token overrides
One kit.
Every family.
Compose · simplified resting heart rate
1import {2AxisBottom, AxisRight, Circle,3GridColumns, GridRows, Group,4LinePath, ParentSize, curveMonotoneX,5scaleLinear, scalePoint,6} from '@viraui/charts';7function RestingHeartRate({ data }) {8const x = scalePoint({ domain: keys, range });9const y = scaleLinear({ domain: [55, 105] });10return (11<Stack fullWidth fullHeight rowGap="l" expandChildren>12<Metric label="Average" value={82} unit="BPM" />13<ParentSize>14{({ width, height }) => (15<svg width={width} height={height}>16<GridRows scale={y} />17<GridColumns scale={x} />18<LinePath data={data} curve={curveMonotoneX} />19{data.map((d) => <Circle key={d.key} />)}20<AxisBottom scale={x} />21<AxisRight scale={y} />22</svg>23)}24</ParentSize>25</Stack>26);27}
Average
82BPM
Last 30 sessions