Component packs › Signal › Bar Race

Bar Race

Bars grow and overtake each other, gliding to new ranks on springs while the year rolls like a scoreboard.

Bar Race 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 re-ranking, scrubbable timeline, rolling period.

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.

Bar Race props

PropTypeDefaultDescription
titlestring
periodsstring[]
seriesBarRaceSeries[]
stepnumber1.4Seconds per period while playing. Default 1.4.
autoplayboolean

Methods on the ref

Use it in React

import BarRace from './BarRace';

<BarRace />

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.