Component packs › Signal › Spring Line

Spring Line

Scrub it and the crosshair chases you on a spring; new data makes every point spring to its height, rippling left to right.

Spring Line is a chart from Signal, a component pack with 8 charts: Charts that behave like physical things. Price: $2 for the whole pack.

Built with: spring crosshair, rippling data updates, arrow keys.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Spring Line props

PropTypeDefaultDescription
titlestring
datanumber[]
labelsstring[]
unitstring
autoplaybooleanShowcase mode: data refreshes every few seconds.

Methods on the ref

Use it in React

import SpringLine from './SpringLine';

<SpringLine />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Signal

Good for: Admin dashboard UI, Automation and workflow UI, Chart components.