---
nav:
  title: Component
  order: 2
group: Forms
toc: content
---

# Button

Button component is used to trigger an action or event, such as submitting a form, opening a Dialog, canceling an action, or performing a delete operation.

## Import

```jsx | pure
import { Button } from 'example';
```

## Usage

<code src="./demos/ghost.tsx">ghost</code>

<code src="./demos/primary.tsx">primary</code>

## Props

<API id="Button"></API>
