About
ReUI Switch with the first 10 official ReUI examples, preserved from the MIT-licensed source registry.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds ReUI Switch to your project and fits it to your theme.
Code
How ReUI Switch is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Label } from "@/components/ui/reui-switch-utils/label"
import { Switch } from "@/components/ui/reui-switch"
export default function Pattern() {
return (
<div className="flex flex-col items-start justify-start gap-3">
<div className="flex items-center gap-2">
<Switch id="switch-sm" size="sm" />
<Label htmlFor="switch-sm">Small Switch</Label>
</div>
<div className="flex items-center gap-2">
<Switch id="switch-default" size="default" />
<Label htmlFor="switch-default">Default Switch</Label>
</div>
</div>
)
}







