Toggle
Equalizer Mute
A sound button with three equalizer bars instead of a wave icon: they animate out of sync only while sound is on, and a state caption stays visible next to it.
What you can change
- the player caption through label
- the initial state through defaultPressed
- the bar colour through accent
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/toggle-010?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
One file, zero dependencies, the --vibeui-toggle-010-* palette. Client-side: useState. Inside the button are three span bars: while the sound is on (aria-pressed="false") they animate as an uneven wave through animation-delay, and when it is turned off they freeze at one low height — the silence is visible without reading any text. Beside it a permanent, not floating, state caption is marked with role="status", and the second line is the player's static caption. The button's aria-label describes the next action, because there is no visible text inside it.
Tags
- toggle
- sound
- equalizer
- aria-pressed
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…