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

# Icon

> Display an icon with customizable size and color

![Basic Usage](https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/icon/icon.png?fit=max\&auto=format\&n=Z2CIIsynbphd2HX3\&q=85\&s=247f338560d99a932e7a7fd4f4874aa3)

```liquid theme={null}
{% icon name="info" /%}
```

## Examples

### Basic Usage

![Basic Usage](https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/icon/icon.png?fit=max\&auto=format\&n=Z2CIIsynbphd2HX3\&q=85\&s=247f338560d99a932e7a7fd4f4874aa3)

```liquid theme={null}
{% icon name="info" /%}
```

### With Size

![With Size](https://mintcdn.com/evidence/3VqmJP-3dtFa-PrP/images/components/icon/example-1.png?fit=max\&auto=format\&n=3VqmJP-3dtFa-PrP\&q=85\&s=0afd7bb09a0d5a01890027abb8e51013)

```liquid theme={null}
{% icon name="star" size=24 color="#ff0000" /%}
```

### With Color

![With Color](https://mintcdn.com/evidence/3VqmJP-3dtFa-PrP/images/components/icon/example-2.png?fit=max\&auto=format\&n=3VqmJP-3dtFa-PrP\&q=85\&s=c11141453ae7fe5cfc07734b2f2be326)

```liquid theme={null}
{% icon name="check" color="#0000ff" /%}
```

### With Tooltip

![With Tooltip](https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/icon/example-3.png?fit=max\&auto=format\&n=Z2CIIsynbphd2HX3\&q=85\&s=a519a2c213857a0982f82a2582477c91)

```liquid theme={null}
{% icon name="info" tooltip="This is an info icon" /%}
```

## Attributes

**name** `string` *required*

Name of the icon to display

**Allowed values:**

* `trending-up`
* `trending-down`
* `clock`
* `calendar`
* `check`
* `x`
* `info`
* `alert-circle`
* `help-circle`
* `eye`
* `eye-off`
* `user`
* `users`
* `settings`
* `cog`
* `plus`
* `minus`
* `up`
* `down`
* `right`
* `left`
* `star`
* `heart`
* `search`
* `file`
* `file-text`
* `home`
* `mail`
* `filter`
* `share`
* `bell`
* `trash`
* `credit-card`
* `globe`
* `key`
* `croissant`
* `map`
* `rotate`
* `rewind`
* `bank`
* `receipt`
* `activity`
* `chart-column`
* `chart-pie`
* `chart-no-axes-combined`
* `goal`
* `rocket`
* `trophy`
* `apple`
* `cookie`
* `donut`
* `beef`
* `cake`
* `soup`
* `utensils`
* `milk`
* `nut`
* `pyramid`
* `triangle`
* `arrow-down`
* `arrow-left`
* `arrow-right`
* `arrow-up`
* `chevron-down`
* `chevron-left`
* `chevron-right`
* `chevron-up`
* `chevrons-down`
* `chevrons-left`
* `chevrons-right`
* `chevrons-up`
* `menu`
* `external-link`
* `check-circle`
* `x-circle`
* `edit`
* `trash-2`
* `copy`
* `save`
* `download`
* `upload`
* `send`
* `refresh`
* `redo`
* `undo`
* `folder`
* `folder-open`
* `image`
* `file-image`
* `user-plus`
* `user-minus`
* `user-check`
* `lock`
* `unlock`
* `log-in`
* `log-out`
* `message-square`
* `message-circle`
* `phone`
* `phone-call`
* `bell-off`
* `video`
* `video-off`
* `play`
* `pause`
* `stop`
* `skip-back`
* `skip-forward`
* `volume`
* `volume-1`
* `volume-2`
* `volume-off`
* `volume-x`
* `bookmark`
* `tag`
* `link`
* `unlink`
* `share-2`
* `alert-triangle`
* `loader`
* `more-vertical`
* `more-horizontal`
* `grid`
* `list`
* `maximize`
* `minimize`
* `zoom-in`
* `zoom-out`
* `thumbs-up`
* `thumbs-down`
* `shopping-cart`
* `dollar-sign`
* `camera`
* `printer`
* `monitor`
* `smartphone`
* `laptop`
* `calculator`
* `cloud-sun-rain`
* `sun-snow`
* `thermometer-sun`
* `thermometer-snowflake`
* `cloudy`
* `cloud-rain-wind`
* `cloud-rain`
* `wind`
* `sun`
* `cloud-snow`
* `thermometer`
* `cloud-drizzle`
* `cloud-sun`
* `cloud`
* `cloud-lightning`
* `snowflake`
* `flame`
* `atom`
* `fuel`
* `magnet`
* `factory`
* `tree-deciduous`
* `waypoints`
* `plug`
* `dam`
* `battery`

**size** `number` (default: 20)

Size of the icon

**color** `string`

Color of the icon, use hex codes, rgb/rgba, or a css color name

**tooltip** `string`

Tooltip text for the icon

**stroke\_width** `number` (default: 2)

Width of the icon outline


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.