sltowl

Matte Sound Toggle

Component 5

About

A dark, matte-styled checkbox switch for toggling interface sounds on/off, with an animated speaker icon that morphs between sound waves and a muted state and a live status label. Ported from the original HTML/CSS/JS component by SLtowl.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Matte Sound Toggle to your project and fits it to your theme.

Code

How Matte Sound Toggle is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import MatteSoundToggle from "@/components/ui/matte-sound-toggle";

export default function MatteSoundToggleDemo() {
  return (
    <div className="min-h-screen w-full grid place-items-center bg-[#f5f4f2] p-10">
      <div className="w-[320px]">
        <MatteSoundToggle />
      </div>
    </div>
  );
}

More by sltowl

View all
  • Playback Scrubber

    Playback Scrubber

    43
  • Matte Alert Feedback

    Matte Alert Feedback

    39
  • Notification Stack

    Notification Stack

    29
  • Time Window Slider

    Time Window Slider

    20
  • Commands Menu

    Commands Menu

    14
  • Matte Meter Slider

    Matte Meter Slider

    14
  • Matte Opacity Slider

    Matte Opacity Slider

    11
  • Undo Feedback

    Undo Feedback

    8