KQ-188 · SOUND/TOGGLE
Sound Toggle
A mute switch whose sound is visible. Turning it on draws the waves out of the speaker in a quick outward stagger; muting retracts them and strikes a slash across in their place, so the state is legible at a glance without reading a word.
KQ-188 · SOUND/TOGGLE
Preview audio
Sound on
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/sound-toggle
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| on / defaultOn | boolean | — | Controlled or initial sound-on state. |
| onChange | (on) => void | — | Fires the new state on toggle. |