bloxa

Spark Chart

FREE

Tiny line, area or bar trend for tables and cards.

Installation

Terminal
npx @bloxa/cli add spark-chart
# or: npx shadcn@latest add @bloxa/spark-chart

Packages installed automatically: motion

Examples

In a table

Signups
1,284
Errors
14
Orders
612

API reference

Every component also accepts the props of the element it renders.

SparkChart

PropTypeDefaultDescription
datanumber[]—Values.
variant"line" | "area" | "bar""area"Style.
color / heightstring / numberaccent / 32Color and height.