- Context Components
- Icons
Context Components
Icons
Add a named icon beside explanatory text.
Use Icon for a small inline symbol. Keep a text label beside it when the meaning
is important; an icon alone is not a substitute for an instruction.
Example
Ready to publish
<Icon icon="circle-check" iconType="solid" color="#15803D" size={24} /> Ready to publish
| Property | Default | Purpose |
|---|---|---|
icon | rocket | Font Awesome icon name, using letters, numbers, underscores or hyphens. |
iconType | Renderer default | regular, solid, light, thin, sharp-solid, duotone, or brands. |
color | Theme color | CSS color for the icon. |
size | 20 | Width and height in pixels, limited to 12-64. |
This inline component accepts an icon name, not an image URL or arbitrary SVG markup. Cards and accordions document their own icon properties separately.