Skip to content

Switch ​

Bật/tắt tức thì (~28×48).

ts
import { Switch } from "@minap/ui";

Sample ​

Props / API ​

Prop / APITypeDefaultNotes
checked / defaultCheckedboolean—
onCheckedChange(checked: boolean) => void—
disabledbooleanfalse
idstring—Ghép với Label htmlFor

Behavior ​

  • touch-manipulation
  • focus ring
  • Category: forms-inputs
  • Catalog gallery: /catalog/forms-inputs

MINAP UI · SoT docs/ (VI + thuật ngữ EN)