Equalizer
Animated frequency bars and VU meter component built for pairing with AudioPlayer and Tracklist.
Interactive Equalizer
Lightweight CSS-animated frequency bars and VU-style meter for live audio states.
equalizer-playground.tsx
Variant
Color
Bars
Sizes & VU Meter
Compact indicators for Tracklist rows or framed VU meters for hi-fi decks.
equalizer-variants.tsx
Quick Import
Example.tsxtsx
1import { Equalizer } from "@rekodo/react";2
3export function Example() {4 return <Equalizer isPlaying bars={6} variant="vu" color="violet" />;5}API Reference
Props accepted by this component.
| Prop | Type | Default | Description |
|---|---|---|---|
| isPlaying | boolean | true | Animates frequency bars when active; settles gently when paused. |
| bars | number | 5 | Number of frequency bars (clamped between 3 and 16). |
| variant | "bars" | "vu" | "bars" | Minimal bars or framed VU meter with peak red bars. |
| size | "sm" | "default" | "lg" | "default" | Overall height and bar thickness. |
| color | "violet" | "emerald" | "rose" | "zinc" | "violet" | Accent color of active bars. |