指南 / 表单输入

开关

拨动式的开/关控件,比复选框更直观,适合设置项的启用禁用。

在线演示

实现提示词

标准

Toggle switch for notification settings: flipping takes effect instantly, with a label showing the current state.

含动效

Toggle switch with spring knob slide (250ms) and track color crossfade; instant effect with state label.
设计规范条目
### Switch / Toggle (#switch)

Category: Forms

Switch: A toggle-style on/off control—more intuitive than a checkbox, suited for enabling/disabling settings.

- Do: Toggle switch for notification settings: flipping takes effect instantly, with a label showing the current state

With motion: Toggle switch with spring knob slide (250ms) and track color crossfade; instant effect with state label.

Live demo: https://uidesignmd.com/guides/switch/

规范包

从所选指南中导出实现规则和链接。

已选指南 0 / 20