---
title: "Button"
subtitle: "<Button> and <ButtonGroup> render link buttons or display-only buttons."
---

A link button (with `href`) or a display-only button:

```mdx
<ButtonGroup>
  <Button intent="primary" href="/guides/get-started/quickstart" rightIcon="lucide:arrow-right">Quickstart</Button>
  <Button outlined href="/api-reference" icon="lucide:code">API reference</Button>
  <Button minimal href="https://github.com" >GitHub</Button>
</ButtonGroup>
```

<ButtonGroup>
  <Button intent="primary" href="../get-started/quickstart.mdx" rightIcon="lucide:arrow-right">Quickstart</Button>
  <Button outlined href="/api-reference" icon="lucide:code">API reference</Button>
  <Button minimal href="https://github.com">GitHub</Button>
</ButtonGroup>

More styles:

```mdx
<Button intent="success" small>Success</Button>
<Button intent="warning" rounded>Warning</Button>
<Button intent="danger" outlined>Danger</Button>
<Button mono>biti deploy</Button>
<Button disabled>Unavailable</Button>
```

<ButtonGroup>
  <Button intent="success" small>Success</Button>
  <Button intent="warning" rounded>Warning</Button>
  <Button intent="danger" outlined>Danger</Button>
  <Button mono>biti deploy</Button>
  <Button disabled>Unavailable</Button>
</ButtonGroup>

<ParamField path="intent" type="none | primary | success | warning | danger">Color. Neutral when not set.</ParamField>
<ParamField path="href" type="url">When set, renders as a link button.</ParamField>
<ParamField path="target" type="string">Link target; external links default to `_blank`.</ParamField>
<ParamField path="text" type="string">Button text (can also be written as children).</ParamField>
<ParamField path="icon / rightIcon" type="icon">Left / right icon.</ParamField>
<ParamField path="outlined" type="boolean" default="false">Outlined style.</ParamField>
<ParamField path="minimal" type="boolean" default="false">Transparent background.</ParamField>
<ParamField path="small / large" type="boolean" default="false">Size.</ParamField>
<ParamField path="rounded" type="boolean" default="false">Fully rounded.</ParamField>
<ParamField path="mono" type="boolean" default="false">Monospace font.</ParamField>
<ParamField path="full" type="boolean" default="false">Full width.</ParamField>
<ParamField path="active" type="boolean" default="false">Pressed state.</ParamField>
<ParamField path="disabled" type="boolean" default="false">Disabled.</ParamField>

`<ButtonGroup>` lays out several buttons in a row, wrapping when space runs out.
