UNPKG

@momentum-ui/react-collaboration

Version:

Cisco Momentum UI Framework for React Collaboration Applications

11 lines (7 loc) 489 B
The `<Toggle />` a.k.a. switch input component It looks similar to the checkbox input but it differs many ways: - Toggle is usually used in the context where user expect immediate changes similar hwo lightswitch turn on/off light. For example: turn on/off settings. - It has a bigger clickable surface which helps to mobile users _Note:_ This component does not have label because it can appear in different layout setup, but it must be wrapped within a `<label>` make it accessible.