Switch
32×18 pill; on is ink, off is hairline. State moves, layout doesn't.
Install
npx raster add switch
Markup
<span class="rs-switch rs-switch-on"><i></i></span>
React
import { Switch } from "@/components/raster/switch";
<Switch checked={enabled} onCheckedChange={setEnabled} aria-label="Notifications" />Classes
.rs-switch.rs-switch-on