About
A realistic, glossy pill-shaped on/off switch with inset shadows and a sliding label, rendered as a self-contained sandboxed widget for settings panels and dashboards.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Skeuomorphic Toggle to your project and fits it to your theme.
Code
How Skeuomorphic Toggle is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import SkeuomorphicToggle from "@/components/ui/skeuomorphic-toggle";
export default function SkeuomorphicToggleDemo() {
return (
<div className="flex min-h-[380px] w-full items-center justify-center bg-background p-8">
<div className="h-24 w-64 overflow-hidden rounded-2xl">
<SkeuomorphicToggle />
</div>
</div>
);
}








