Switch
Switch
Section titled “Switch”Switch cho phép bật/tắt cài đặt. Figma: 72 variants (size × variant × status × state).
Variants
Section titled “Variants”| Axis | Options |
|---|---|
| size | 1, 2, 3 |
| variant | classic, surface, soft |
| status | unchecked, checked |
| state | default, hover, active, disable |
Khi nào dùng
Section titled “Khi nào dùng”- Switch: Bật/tắt tức thì (VD: dark mode, notifications)
- Checkbox: Chọn nhiều trong form (VD: chọn items để xóa)
- Radio: Chọn 1 trong nhóm (VD: payment method)