Appearance
Switch
Bật/tắt tức thì (~28×48).
ts
import { Switch } from "@minap/ui";Sample
Props / API
| Prop / API | Type | Default | Notes |
|---|---|---|---|
checked / defaultChecked | boolean | — | |
onCheckedChange | (checked: boolean) => void | — | |
disabled | boolean | false | |
id | string | — | Ghép với Label htmlFor |
Behavior
- touch-manipulation
- focus ring
Related
- Category:
forms-inputs - Catalog gallery:
/catalog/forms-inputs