@nevuto/charts
v0.3.7
Published
SVG charts styled with Nevuto UI tokens.
Readme
@nevuto/charts
SVG charts styled with Nevuto UI tokens: line, bar, donut and sparkline.
Part of Nevuto UI, the design system of the Nevuto admin. Apps embedded in the admin can use it to look like part of it.
Install
npm i @nevuto/chartsPeer dependencies: react, react-dom.
Usage
import '@nevuto/charts/styles.css'
import { LineChart } from '@nevuto/charts'
<LineChart series={[{ data: [12, 18, 9, 24] }]} xLabels={['Mon', 'Tue', 'Wed', 'Thu']} height={240} />Links
- Nevuto UI docs: https://design.nevuto.com
- Building apps for Nevuto: https://nevuto.dev
License
MIT
