Sparkline
A tiny axis-free chart that shows the shape of a trend next to the number it belongs to.
Paste this into your agent.
Sparkline sits beside a KPI, inside a table cell or in a line of text to show whether a measure is rising or falling. It has no tooltip or axes and draws in the surrounding text colour.
Install
bashnpx shadcn@4.18.0 add @siteplane/sparkline
Import it from @/siteplane/components/sparkline. The project needs Siteplane UI's one-time setup first: .
When to pick it
- vs : Pick Line Chart when readers need exact values, dates or a shared axis.
- vs : Pick Area Chart for a full-size filled trend with a tooltip.
Rules
- Pass
dataas an array of numbers, or an array of arrays for several series on one scale. - Write a
labelthat says what is shown and over which period, and print the actual figure beside it. - Set the colour from the parent text colour (for example a success or destructive class) or with
color. - Give it a width class such as
w-24and a pixelheightin tight spots. - Set
includeZero={false}when small changes on a large value would otherwise look flat.
Reference
Add to your agent
Print this skill from the terminal, or connect the whole catalog over MCP. Setup guides
CLI
MCP server
Questions
Related skills
12 Principles of Animationby raphaelsalaja
Apply Disney's 12 animation principles to web interfaces to make motion feel natural, organic, and human.
MotionExternalGitHub stars: 42
Animation Vocabularyby emilkowalski
Sharpen motion language so animation choices feel deliberate and consistent.
MotionExternalGitHub stars: 51.4K
Antfu Designby antfu
antfu-style design conventions, broadened. UnoCSS-first, class-based semantic tokens with dual light/dark for tooling and devtools UIs, plus design-read, anti-slop, and micro-interaction polish for landing pages and product surfaces. Use when building or refactoring any interface with UnoCSS.
LayoutExternalGitHub stars: 6K
Apple Designby emilkowalski
Apple's approach to interface design and fluid, physical motion, translated for the web. Use when building or reviewing gesture-driven UI, spring animations, drag/swipe/sheet interactions, momentum and interruptible transitions, translucent materials and depth, typography (optical sizing, tracking, leading), reduced-motion, or the design foundations (feedback, spatial consistency, restraint) behind Apple-style interfaces.
MotionExternalGitHub stars: 51.4K