Skip to content
GetUrUI

Bar Ripple

2 variantsPro
.md

Bars ripple in a travelling wave under a headline figure, for revenue, usage and growth sections.

illustrationsvgbarschartrevenueusagewaveloop

Revenue

revenue.tsx

Gradient revenue bars ripple under a headline figure with the latest bar lit up.

$npx shadcn@latest add @geturui-pro/bar-ripple-revenue
PropTypeDefaultDescription
valuestring"$48.2k"Headline figure shown above the bars.
deltastring"+12.4%"Change label shown next to the figure.
speednumber1Speed multiplier for the loop (three seconds per wave at 1).
titlestring—Accessible description of the scene, used as the aria-label.
classNamestring—Classes for the SVG; it fills its container width and keeps its ratio.

Usage

usage.tsx

Stacked usage bars roll beneath a plan limit while a meter tracks the share used.

$npx shadcn@latest add @geturui-pro/bar-ripple-usage
PropTypeDefaultDescription
usednumber0.78Share of the plan used, 0 to 1; drives the meter and its colour.
speednumber1Speed multiplier for the loop (three seconds per wave at 1).
titlestring—Accessible description of the scene, used as the aria-label.
classNamestring—Classes for the SVG; it fills its container width and keeps its ratio.

Install the whole set

Installs every bar ripple variant at once. Each section above has its own command for a single variant.

Pro installs use your private registry token. Add the @geturui-pro registry once — setup guide. The command works after you get Pro.

$npx shadcn@latest add @geturui-pro/bar-ripple

Accessibility

  • Rendered as a single SVG with role="img" and an aria-label you can override with `title`; nothing inside is focusable.
  • Under prefers-reduced-motion the scene renders one meaningful still frame: no loops, no timers.
  • Colours come from the GetUrUI tokens only, so the scene follows light and dark themes automatically.

Related