Backgrounds
Bar wave matrix
Bar wave matrix: A grid of short bars where each bar slides along its own track, and the phase offset from row to row turns the whole grid into a travelling wave.
Using Bar wave matrix
Bar wave matrix uses the wide preview frame with a dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
colorA | color | #38BDF8 | No additional limit in the metadata. |
colorB | color | #FF4D8D | No additional limit in the metadata. |
columns | number | 14 | From 4 to 32; step 1 |
rows | number | 8 | From 2 to 20; step 1 |
speed | number | 0.35 | From 0.05 to 1.5; step 0.05 |
orientation | select | horizontal | Options: horizontal, vertical |
Which frameworks are available for Bar wave matrix?
Bar wave matrix is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Bar wave matrix depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Bar wave matrix?
The React source for Bar wave matrix includes: attributes and handlers (aria-hidden, aria-label); explicit roles (img). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Bar wave matrix handle reduced motion?
Bar wave matrix reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.