Sparkline Stat
SubscriptionA value paired with a compact inline trend line — the pattern for a metric row where every figure needs its recent history at a glance. Hand-rolled SVG computed from a plain number array, no chart library, with an accessible text summary so the trend is never color-only.
- Category
- Stats & Numbers
- Framework
- astro
- Version
- 1.0.1
- Peer deps
- none
Install
velocityx add inline-sparkline-stat
This component is on the Velocity Components subscription. Run velocityx login <your-key> first — subscribe here
if you haven't. The licence key is in your receipt email.
Demo
View the live demo on the showcase site ↗
Source
Component source isn't shown here for subscription components — that's the one thing the subscription gates. Install it with the CLI after logging in, or preview the rendered result on the live demo.
Theming
Uses the shared primary-* / accent-* scale — see Theming if colours look unstyled after install.