A toggle is a horizontal set of two or more buttons that affect an object, state, or view. Only one toggle button in a set should be active at any given time.
Examples & Guidelines
The first option in a toggle should be the default selection based on usage. Toggles may be used as switches to turn features, modes, or other functionality on and off.