We use buttons for all clickable events. When passed an href, the button is rendered
as an anchor tag to leverage the browser's existing link behavior.
Learn more about why we choose anchor over button for links in this post by Marcy Sutton.
The <Button> component is bare without passing any prop. You can either set a token with the is prop or style as you intend with tailwind classes.
Please note, our design has zero hover effects if the Button is disabled, the mouse should remain as cursor-default instead of cursor-not-allowed, etc.
Tokens:
Size options:
With icon:
Icon only:
Disabled state: