Button

The Button component is a simple styled wrapper around the native HTML button element.


The Button component is a simple styled wrapper around the native HTML button element.

Basic Usage

By default - the Button component will render a primary button with a solid background color. This is the same as setting the variant prop to primary.

tsximport { Button } from '@components/ui/Button';
 
<Button>
  Click Me
</Button>