Sparkline
Sparkline with Normal Band
A micro chart over a band of normal values: the series answers "up or down", the band answers the real question — "was it bad" — and the breaches are marked as dots.
What you can change
- the series through values, the captions through label and value
- the band limits through low and high — in the same units as the data
- the footer captions through bandTemplate with {low} and {high} and breachTemplate with {count}
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/sparkline-005?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
One file, zero dependencies, the --vibeui-sparkline-005-* palette. A server component. The band limits arrive in the same units as the data, and the scale spans the union of series and band — otherwise the band would leave the frame as soon as the whole series sits above or below it. The band is filled with a faint accent and its edges are dashed. Breach dots are larger than the trailing dot and carry their own colour: they are what the eye looks for first. The SVG is role=img with a templated label, and the breach count is repeated as text in the footer.
Tags
- sparkline
- threshold
- monitoring
- compact
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…