Forms
Switch
A setting that applies right away, with no save button.
src/components/ui/switch.tsxBehavior from @ui-sdk/react/switch
A settings list
Import
tsx
import { Switch } from "@/components/ui/switch";Guidelines
- The label names the setting, not its state ("Focus mode", not "Turn on").