Dev Design Library

Sparkline

Compact inline price marks for watchlists, token tables, and portfolio rows.

Sparkline preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Dependencies
framer-motion, recharts
Install
npx shadcn@latest add @spectrumui/sparkline-chart
Files
  • app/registry/charts/chart-kit.tsx
  • app/registry/charts/sparkline-chart.tsx
  • lib/utils.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI