Buttons
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.
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.
Intent
Customize the look of the toggle button using the intent
prop.
Size
Adjust the toggle button's size using the size
prop.
Controlled
Manage the toggle button's state with the isSelected
prop.
Disabled
Disable a toggle button by setting the disabled
prop.
Launch faster with complete, professional templates for modern web apps.
irsyad.co