Toggle Switch
A smooth iOS-style toggle switch
作者:startai♥ 31 点赞MIT
toggleswitchiOS
实时预览
源代码
export default function Component() {
return (
<label className="toggle">
<input type="checkbox" />
<span className="slider" />
</label>
);
}