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

# Icons

> Add an icon inline with text

Icons can come from the active icon library or a local SVG.

## Usage

```mdx theme={null}
<Icon icon="book" color="#10B981" size={24} />
<Icon icon="/logo/mark.svg" size={24} />
```

Use `iconType` to select an icon style. The active library comes from `icons.library` in `docs.json`.

## Example

<Icon icon="book" color="#10B981" size={24} />
