Unreviewed
Displays an icon in the current text color. Pass size for custom dimensions and label when the icon conveys meaning without accompanying text.
size
label
Icon needs CSS without element registration. See Install and configure for stylesheet setup.
<Text><Icon shape="check" /> Saved</Text> Copy
<Text><Icon shape="check" /> Saved</Text>
<Icon shape="warning-triangle" label="Warning" /> Copy
<Icon shape="warning-triangle" label="Warning" />
Displays an icon in the current text color. Pass
sizefor custom dimensions andlabelwhen the icon conveys meaning without accompanying text.Icon needs CSS without element registration. See Install and configure for stylesheet setup.