• Lightest
  • Light
  • Dark
  • Darkest
  • Medium
  • Large
  • LTR
  • RTL

Logic Button

Component status
Contribution
Last releasedOctober 20, 2020
Current version@spectrum-css/button@3.0.0-beta.5

Usage notes


A button that toggles between and/or when clicked.

Variants


And
Contribution

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

Or
Contribution

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