ns-ui

Loader Spring Bars

An ambient loading glyph shaped as a row of leaf springs on a rail — one displacement keyframe, staggered per bar by negative animation-delay, reads as a single pulse of energy travelling down the rack rather than bars animating in isolation.

Use when an indeterminate wait in a horizontal slot wider than it is tall (a caption row, a toolbar, the strip under a search field) where a square glyph would waste the space, since 3 to 9 bars share one keyframe phased by negative delay so a single pulse travels the rack; pick loader-iris or loader-die-tumble instead when the slot is square and inline, or loader-pendulum-sync when the row can be much wider and the wait runs into minutes.

Install

npx shadcn add https://design.helpmarq.com/r/loader-spring-bars.json
  • loader
  • loading
  • spinner
  • indicator
  • css-animation
  • physics
  • aria-live
  • icon

ns-ui / loader-spring-bars

Transcribing audio

Transcribing audio…

Loadinginline, at 18px

one shared spring pulse, staggered per lath — a wave, not five bars animating alone

Props

PropTypeDefaultDescription
count?numbernumber of laths, clamped 3-9
height?numberrack height in px
periodMs?numberms for one full pulse to sweep across the rack and repeat
label?stringtext announced via the component's own aria-live region
className?string