We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fe5feb commit 6bbda04Copy full SHA for 6bbda04
src/content/docs/components/checkbox.mdx
@@ -62,3 +62,17 @@ import Imports from "@components/examples/checkbox/Imports.astro";
62
```
63
</Fragment>
64
</Demo>
65
+
66
+## Toggle switch
67
68
+Toggle switches are typically used to enable or disable functions with immediate effect, while
69
+checkboxes often require a separate action (like a submit button) to apply changes.
70
71
+<Demo>
72
+ <vscode-checkbox toggle>Toggle switch</vscode-checkbox>
73
+ <Fragment slot="html">
74
+ ```html "toggle"
75
76
+ ```
77
+ </Fragment>
78
+</Demo>
0 commit comments