Enhance content with visual symbols from popular icon libraries

Icon components integrate seamlessly with content using icons from Font Awesome icon and Lucide icon to improve visual communication and user experience.

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

Text Integration

Icons automatically align with surrounding text when placed within paragraphs and content blocks.

Successfully configured your development environment.

Please review the configuration before proceeding.

<Icon icon="check-circle" iconType="solid" color="#10b981" /> Successfully configured your development environment.

<Icon icon="warning-triangle" iconType="outline" color="#f59e0b" /> Please review the configuration before proceeding.

Size Variations

Small icon for inline use

Medium icon for emphasis

Large icon for headers

<Icon icon="star" size={16} /> Small icon for inline use
<Icon icon="star" size={24} /> Medium icon for emphasis  
<Icon icon="star" size={48} /> Large icon for headers

Color Customization

Red heart for favorites

Blue shield for security

Purple database for storage

<Icon icon="heart" color="#ef4444" size={28} /> Red heart for favorites
<Icon icon="shield" color="#3b82f6" size={28} /> Blue shield for security
<Icon icon="database" color="#8b5cf6" size={28} /> Purple database for storage

Icon Types and Styles

regular user profile

solid user profile

<Icon icon="fa-user" iconType="regular" size={24} /> regular user profile

<Icon icon="fa-user" iconType="solid" size={24} /> solid user profile

Configuration Options

icon A Font Awesome or Lucide icon can be used. If an icon name exists in both sets, the Lucide icon takes priority. To force the use of a Font Awesome icon, prefix the name with fa-. To explicitly use a Lucide icon, prefix the name with lucide-.

iconType For Font Awesome icons only: One of regular, solid, light, thin, sharp-solid, duotone, brands.

color The color of the icon as a hex code (for example, #FF5733).

size The size of the icon in pixels.