<Icon icon="flag" size={32} />
<Icon icon="flag" size={32} />

Inline Icons

The icon will be placed inline when used in a paragraph.

Inline Icon Example
<Icon icon="flag" iconType="solid" /> The documentation you want, effortlessly. 

The documentation you want, effortlessly.

Props

icon
string
required

A Font Awesome icon, Lucide icon, URL to an icon, or relative path to an icon.

iconType
string

One of regular, solid, light, thin, sharp-solid, duotone, brands (only for Font Awesome icons).

color
string

The color of the icon as a hex code (e.g., #FF5733)

size
number

The size of the icon in pixels