Switch
A switch is a component that is toggled on or off by the user, it's similar to a checkbox but has a different style.
Imports
`Switch` - The actual switch component, it's also exported as default.
Installation
npx neel-ui add switch
Example
API Reference
Props of the `switch` component. * denotes the default value.
Attribute
Type
Description
Parent
value
`boolean`
Whether the switch is on or off.
`Switch`