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

# Links Component

> Display web URLs and search results

## Overview

The **Links** component displays URLs with rich previews - perfect for web search results or documentation links.

## Format

```
::: links
![link](URL-1)
![link](URL-2)
![link](URL-3)
:::
```

## Example

```
::: links
![link](https://docs.example.com/getting-started)
![link](https://docs.example.com/api-reference)
![link](https://support.example.com/troubleshooting)
:::
```

<Frame>
  <img src="https://mintcdn.com/luaglobal/5airD3u2P6mv3Ovl/images/formatting/links-preview.png?fit=max&auto=format&n=5airD3u2P6mv3Ovl&q=85&s=5f345f46fe3dda713613e6124d4ad6a6" alt="Link preview cards rendered in the Lua Pop web widget" width="2534" height="1326" data-path="images/formatting/links-preview.png" />
</Frame>

*Link preview cards rendered in the Lua Pop web widget.*

## Configure in Persona

```yaml theme={null}
persona: |
  When user asks for documentation or web resources:
  
  ::: links
  ![link](relevant-url-1)
  ![link](relevant-url-2)
  :::
```

## Best For

* Web search results
* Documentation links
* Support articles
* External resources

<Card title="Images Component" icon="image" href="/formatting/images">
  Next: Display image galleries
</Card>
