A revenue chart drawn as a mountain ridge: each month is a summit at its value, the target is the snow line, and the hand sets it, turning the months that clear it vermilion.
Target, FY 2026following
€200k
Jan€132k
Feb€146k
Mar€158k
Apr€151k
May€172k
Jun€194k
Jul€181k
Aug€207k
Sep€226k
Oct€214k
Nov€252k
Dec€279k
Clear the line0 of 12 months
CairnRevenue / Targets
Set the snow line.
Months that clear it are white.
Move to set the line · click to hold · scroll to nudgeTap to set the line
Use it for a yearly target where the shape of the months matters. Pass your own data as label and value pairs; the pointer, wheel or arrow keys move the line and a click holds it. While summits clear the line, snow keeps blowing off them.
When not to use
Do not use it for general charts or dense data screens: the ridge is baked to one photo and its ledge map (src and ledgeSrc), and it shows a single target. For dashboard charts use Chart.
Use it for a yearly target where the shape of twelve months matters, with one photograph of a ridge and its ledge map; another photo needs its own baked skyline. Effects are visual
pieces rather than controls: they do not replace the Interface components in dashboards and forms.
The effect needs your image through its image prop (see the table below). Use a JPEG or WebP of at
least 1600 px on the long side, under 200 KB (400 KB at full screen); host it on your own origin or
send CORS headers, because the browser blocks cross-origin textures. The demo images stay on this
site and are not installed.
The chart is a slider: arrow and Page keys move the line, Enter holds it, and a live value text reads the month count. Figures are real text.
The effect never takes focus. On touch screens a tap sets the line; the page keeps its vertical scroll and the wheel is only listened to where there is one.
The line jumps to the set value with no settle, no powder and no spindrift; figures still update. The Snowline hooks read usePrefersReducedMotion, so the MotionKitProvider setting applies too.