Save 15% on all Justd Blocks
Components

Toggle

Toggle is like light switches for your digital digs. Flip 'em on, and they light stuff up; flip 'em off, and it's lights out.

Basic

A toggle button allows users to switch between two states, such as enabling or disabling a feature.

Loading...

Installation

If you hit any issues, make sure you check out the installation guide here for more information.

Manual Installation

Make sure you also install the composed components and the required packages for the component to function properly.

Appearance

Customize the look of the toggle button using the appearance prop.

Loading...

Shape

Modify the shape of the toggle button with the shape prop.

Loading...

Size

Adjust the toggle button's size using the size prop.

Loading...

Controlled

Manage the toggle button's state with the isSelected prop.

Loading...

Disabled

Disable a toggle button by setting the disabled prop.

Loading...