> ## Documentation Index
> Fetch the complete documentation index at: https://docs.evidence.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Link Button

> A button that links to a URL

<img src="https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/link_button/link_button.png?fit=max&auto=format&n=Z2CIIsynbphd2HX3&q=85&s=7cf7762873ac568fb40a71e51ebc15fe" alt="Basic Usage" width="1000" height="64" data-path="images/components/link_button/link_button.png" />

```liquid theme={null}
{% link_button
    url="https://example.com"
    title="Visit Example"
/%}
```

## Examples

### Basic Usage

<img src="https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/link_button/link_button.png?fit=max&auto=format&n=Z2CIIsynbphd2HX3&q=85&s=7cf7762873ac568fb40a71e51ebc15fe" alt="Basic Usage" width="1000" height="64" data-path="images/components/link_button/link_button.png" />

```liquid theme={null}
{% link_button
    url="https://example.com"
    title="Visit Example"
/%}
```

## Attributes

<ResponseField name="url" type="string" required>
  The URL to link to
</ResponseField>

<ResponseField name="title" type="string" required>
  Text displayed on the button
</ResponseField>

<ResponseField name="new_tab" type="boolean" default="false">
  Whether to open the link in a new tab
</ResponseField>

<ResponseField name="variant" type="string" default="default">
  Button style variant

  **Allowed values:**

  * `default`
  * `primary`
  * `destructive`
  * `secondary`
  * `ghost`
  * `link`
</ResponseField>
