verysimple

Button

The button component is used to trigger an action.

Demo

Props

variant

The variant of the button.

color

The color of the button.

size

The size of the button.

as

The element type of the button.

loading

The loading state of the button.

Code Snippet

<div className="flex space-x-4 mb-8">
  <Button variant="text">Text</Button>
  <Button variant="filled">Filled</Button>
  <Button variant="outlined">Outlined</Button>
</div>