Playground
Adjust the controls below and the component updates in real time. The Generated HTML snippet at the bottom shows exactly what attributes and styles to copy into your own project.
Loading component…
Generated HTML
Try these things
Section titled “Try these things”- Switch sizes — notice how
iconandsmdefault to 3 bars, whilemd/lg/xldefault to 5 - Change colour — the bars pick up the CSS custom property instantly, no page reload
- Drag the transition slider — at 20 ms bars snap hard to each frame; at 500 ms the motion is very smooth
- Set bar count to 2 — the two bands track bass vs. treble content of your voice