Skip to content

Chart

Skia-rendered charts: BarChart, LineChart, DonutChart + ChartLegend.

Terminal window
npx github:truongnat/rnui#cli add chart

or directly via the shadcn CLI:

Terminal window
npx shadcn add https://<registry-base>/r/nativewind/chart.json # or /uniwind/

npm dependencies installed automatically: @shopify/react-native-skia@2.6.2

components/ui/chart.tsx
// See the source file for the API:
  • components/ui/chart.tsx

Installs together with: utils, text, theme