About
A group of labeled toggle switches, each tinted a semantic color (success, info, warning, danger) to signal its meaning in a settings or preferences form.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Switch Color Options to your project and fits it to your theme.
Code
How Switch Color Options is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import SwitchColorOptions from "@/components/ui/switch-color-options";
export default function SwitchColorOptionsDemo() {
return (
<div className="flex w-full items-center justify-center p-10">
<SwitchColorOptions />
</div>
);
}
















