About
A dark, matte-styled opacity slider with a checkerboard preview swatch that updates live as you drag, built on a native range input for accessibility.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Matte Opacity Slider to your project and fits it to your theme.
Code
How Matte Opacity Slider is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import OpacitySlider from "@/components/ui/matte-opacity-slider";
export default function OpacitySliderDemo() {
return (
<div className="flex min-h-[420px] w-full items-center justify-center bg-[#f5f4f2] p-10">
<OpacitySlider />
</div>
);
}
















