Logic Button

Component status
Contribution
Last releasedOctober 8, 2019
Current version@spectrum-css/button@2.0.0

Usage notes#


A button that toggles between and/or when clicked.

Variants#


And#
Contribution

<button class="spectrum-LogicButton spectrum-LogicButton--and">And</button>
<button class="spectrum-LogicButton spectrum-LogicButton--and" disabled>And</button>
Show markup

Or#
Contribution

<button class="spectrum-LogicButton spectrum-LogicButton--or">Or</button>
<button class="spectrum-LogicButton spectrum-LogicButton--or" disabled>Or</button>
Show markup