React
Renders a labelled checkbox input with role=switch and a token-styled Switchmark.

Component
Immediate on/off control for settings and binary state.
import { Switch } from "@hozorica/hods-react";import { Switch } from "@hozorica/hods-react-native";booleanControlled and uncontrolled checked state.(checked: boolean) => voidCalled when the switch value changes.ReactNodeOptional visible label.16 | 24 | 32Track size. Defaults to 32.brand | neutralChecked-state visual tone.booleanState flags forwarded to the accessible control.InputHTMLAttributesWeb-only props for the hidden input element.Renders a labelled checkbox input with role=switch and a token-styled Switchmark.
Uses Pressable with accessibilityRole=switch and shared size/tone props.
<Switch label="Notifications" defaultChecked onCheckedChange={(checked) => console.log(checked)} />