Design System

Toggle

Toggles are a type of checkbox that shows up in a larger on/off format.

React

Toggle composes Chakraโ€™s Switch.

live

<Stack direction="column" spacing="400">
<Toggle>Unchecked</Toggle>
<Toggle isChecked>Checked</Toggle>
<Toggle isDisabled>Disabled</Toggle>
</Stack>

Props

AttributeUsage
colorModeUsed to indicate dark or light mode
isDisabledThe disabled state is used to convey temporarily unavailable actions
isCheckedThe checked state is used to explicitly mark a switch as in the on state
labelAccessibile labelโ€”always provide if visible label is not present

ColorMode

Default for colorMode is light, but you can also specify a dark mode for use on dark backgrounds.

live

<Stack direction="column" bg="neutral.900" p="200" borderRadius="300">
<Toggle colorMode="dark">I'm idle</Toggle>
<Toggle colorMode="dark" isChecked>I'm checked</Toggle>
<Toggle colorMode="dark" isDisabled>I'm disabled</Toggle>
</Stack>


Copyright ยฉ 2025 Hover Inc. All Rights Reserved.