Chart
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.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
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.club/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…
How to use
<Sparkline005
label="Response time, ms"
value="131"
low={100}
high={160}
values={[120, 210, 156, 131]}
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Caption
label· default: Response time, ms- Lower limit
low· default: 100- Upper limit
high· default: 160- Accent
accent· default: theme colour- Background
background· default: theme colour
More in Chart
FAQ
- How do I add Sparkline with Normal Band with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Sparkline with Normal Band depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Sparkline with Normal Band?
- Adapt: 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}. Keep as installed: the local --vibeui-sparkline-005-* palette: the component must look the same in any project; the scale spanning both series and band — otherwise the band leaves the frame; the breach markers: without them the band is decoration rather than an answer.
- Is Sparkline with Normal Band free?
- Yes. The preview is open without an account; with a free account you can copy up to 20 components a month.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/sparkline-005.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
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…