Skip to Content

Bar Wave Loader

Bar wave loading spinner: a row of five paper-lit pill bars that rise and fall in a staggered wave, each tinted by its own palette. A status element labelled Loading; reduced motion swaps the wave for a slow fade.

View as Markdown
pnpm dlx shadcn add @01orbital/bar-wave-loader

Usage

import { BarWaveLoader } from "@/components/loader/bar-wave-loader"

Examples

Ember Threebar-wave-loader-ember-three

Bar Wave Loader Ember Three: an example of bar-wave-loader.

pnpm dlx shadcn add @01orbital/bar-wave-loader-ember-three

Indigo Tidebar-wave-loader-indigo-tide

Bar Wave Loader Indigo Tide: an example of bar-wave-loader.

pnpm dlx shadcn add @01orbital/bar-wave-loader-indigo-tide

API reference

A row of paper pills that rise and fall in a wave, for a loading state. Each pill takes its tint from one entry in palettes.

Exposes role="status" with the label "Loading"; pass aria-label to change it. With reduced motion the pills pulse in opacity instead of growing.

Prop

Type

It also accepts the HTML attributes of the element it renders.

Dependencies

npm: cn. The CLI installs them for you. cn merges Tailwind class names, in place of clsx and tailwind-merge.