skip to main content
skip to navigation sidebar
skip to context sidebar
Theme UI
Docs
index
theme-ui
component-controls
Components usage
ActionBar
ActionContainer
BlockContainer
Collapsible
ColorMode
CopyContainer
Description
ExternalLink
GithubAvatar
GithubAvatarList
Header
HoverBox
Link
LinkHeading
Markdown
Multiselect
Pagination
PanelContainer
Popover
ProgressIndicator
SearchInput
Sidebar
Source
Subtitle
SyntaxHighlighter
Table
Tabs
Tag
TitledImage
Toggle
Overview
Label
Custom Icons
Octicons
Checkbox
Tree
Value
Zoom
Components
Design tokens
Documentation
Testing
Themes
Edit this page
created:
3/15/2021
updated:
3/15/2021
source lines:
36
comments %:
33
Toggle
Toggle components can be used to edit boolean values. Uses
react-switch
component.
A11y tests
open dashboard
with label
Viewport
widths
with label
320px
with label
375px
with label
768px
with label
1024px
Previous
component-controls/TitledImage
Next
component-controls/Tree