Dev Design Library

Sparkline

A small, simple chart without axes or coordinates that shows the general shape of data variation, typically used inline with text or in small spaces.

Sparkline preview
Library
Chakra UI
Framework
React
Type
component
License
MIT
Install
npm i @chakra-ui/react @emotion/react
Files
  • packages/charts/src/chart/chart.tsx
  • packages/charts/src/chart/index.ts
  • packages/charts/src/chart/namespace.ts
  • packages/react/src/index.ts
  • packages/charts/src/use-chart.ts
  • packages/react/src/collection.ts
  • packages/react/src/components/index.ts
  • packages/react/src/create-context.ts
Source
https://github.com/chakra-ui/chakra-ui

Categories

More from Chakra UI