# Button

Starts an action. Five kinds, three sizes, and an icon only form.

Group: Actions. Registry item: @antonio/button.

## Install

```sh
npx antonio-ui add button icons
```

## Import

```tsx
import { EyeIcon } from "@/components/icons"
import { Button } from "@/components/ui/button"
```

## Use

- Primary for the one main action on a screen. One per view.
- Secondary or Outline for everything else, like Cancel.
- Ghost inside rows, title pills and toolbars, where a fill would be loud.
- Destructive only for actions that delete or cannot be undone.

## Example

```tsx
<Button>Save</Button>
<Button variant="secondary">Cancel</Button>
<Button variant="ghost" size="icon" aria-label="View">
  <EyeIcon />
</Button>
```

Page: https://antonio-ui.vercel.app/library/button
