Switch
js
import Switch from "@/components/Switch";
const Example = () => {
const [checked, setChecked] = useState(false);
return (
<div>
<Switch
label="Active Switch"
value={checked}
onChange={() => setChecked(!checked)}
/>
</div>
);
};