Dev Design Library

Sparkline

A compact inline trend for stat cards and tables, with a change badge and optional readout.

Sparkline preview
Library
beUI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @beui/sparkline
Files
  • components/charts/sparkline.tsx
  • components/motion/number-ticker.tsx
  • lib/ease.ts
  • lib/hooks/use-hover-capable.ts
  • lib/i18n.tsx
  • lib/utils.ts
  • components/charts/xy/inspector.tsx
  • components/charts/xy/messages.ts
Source
https://github.com/starc007/ui-components

Categories

More from beUI