Skip to main content

Icon

Use an icon in fitting styling. An alternative for icons will be necessary if they are ever used to convey information without adjacent visible text.

Examples

Medium icon


Code
<Icon
content={<ChatIcon />}
size="md"
/>

Small icon


Code
<Icon
content={<ChatIcon />}
size="sm"
/>

Props

content

ReactNode

size

TextSize

Default: "md"