Files
mintlify__docs/snippets/icons-required.mdx
mintlify[bot] 3bb55a7bbf Update from code changes: note emoji as icon option (#7337)
* docs: note emoji as an icon option in frontmatter and components

* translations

* fix emoji examples for Windows

* copy edits

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2026-09-11 09:46:27 -07:00

28 lines
1.3 KiB
Plaintext

<Info>
You must include one of `icon` or `src`.
</Info>
<ResponseField name="icon" type="string">
The icon to display.
Options:
- [Font Awesome icon](https://fontawesome.com/icons) name, if you have the `icons.library` [property](/organize/settings-appearance#param-icons) set to `fontawesome` in your `docs.json`
- [Lucide icon](https://lucide.dev/icons) name, if you have the `icons.library` [property](/organize/settings-appearance#param-icons) set to `lucide` in your `docs.json`
- [Tabler icon](https://tabler.io/icons) name, if you have the `icons.library` [property](/organize/settings-appearance#param-icons) set to `tabler` in your `docs.json`
- A single emoji (for example, `💡` or `🚀`)
</ResponseField>
<ResponseField name="src" type="string">
Path or URL to an image to use as the icon. Use `src` instead of `icon` when you want to use a custom image rather than an icon from a library.
Options:
- Path to an image file in your project (for example, `/images/my-icon.svg`)
- URL to an externally hosted image (for example, `https://example.com/icon.png`)
</ResponseField>
<ResponseField name="iconType" type="string">
The [Font Awesome](https://fontawesome.com/icons) icon style. Only used with Font Awesome icons.
Options: `regular`, `solid`, `light`, `thin`, `sharp-solid`, `duotone`, `brands`.
</ResponseField>