Design System

Toggle

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

Design guidance

When and how to use this

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

React

Toggle composes Chakra’s Switch.

live

<Stack direction="column" spacing="400">
<Toggle>I'm idle</Toggle>
<Toggle isChecked>I'm checked</Toggle>
<Toggle isDisabled>I'm disabled</Toggle>
</Stack>

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.