The <Icon> component displays Font Awesome icons in your documentation with support for all Font Awesome Pro styles.
Use a relative path to display a custom SVG file from your project.
A Font Awesome icon name (e.g., “heart” or “fa-solid fa-heart”) or a relative path to an SVG file (e.g., ”./images/icon.svg”)
Icon color (hex, RGB, or color name). Ignored if lightModeColor and darkModeColor are both set
Icon color for dark mode (hex, RGB, or color name)
Icon color for light mode (hex, RGB, or color name)
Size of the icon (width and height) calculated as size * 4 pixels (e.g., 4 = 16px, 8 = 32px).
Additional CSS classes to apply to the icon