Data display

Chart

interactive/sparkline · area · onPointerChange

Line chart

Preview

Usage

Interactive variant reports the scrubbed point; render your own header from it.

API

<LineChart data variant="interactive|sparkline" height tone area? onPointerChange? />

Get it

Already in every copy of the native kit:

import { LineChart } from '@/components/kit/line-chart';

Details

Exports
LineChart
Packages
react-native-svg@15.15.4
Installs with
@halftone-native/lib-palette-context
Also searched as
sparkline, trend, time series, graph

Bar chart

Preview

API

<BarChart data={[{label,value,className?}]} height showValues? />

Get it

Already in every copy of the native kit:

import { BarChart } from '@/components/kit/bar-chart';

Details

Exports
BarChart
Installs with
@halftone-native/lib-utils, @halftone-native/text
Also searched as
bars, histogram, weekly

Donut chart

Preview

API

<DonutChart data size>{centre}</DonutChart> + <ChartLegend data />

Get it

Already in every copy of the native kit:

import { DonutChart, ChartLegend } from '@/components/kit/donut-chart';

Details

Exports
DonutChart, ChartLegend
Packages
react-native-svg@15.15.4
Installs with
@halftone-native/lib-palette-context, @halftone-native/lib-theme, @halftone-native/lib-utils, @halftone-native/text
Also searched as
pie, ring, allocation, breakdown

Agents: the whole registry is at /llms.txt.