Optional
ariaOptional
ariaAria-label for the icon (used in combination with role)
Optional
classOverride or extend the styles applied to the component
Optional
colorColor of the icon.
Optional
customUsed for tests. Clickable and requested subcomponents will be suffixed with "-[ComponentName]".
Overrides default behavior of fetching svg from remote. Pass a valid path for a *.svg file from your local system. Example: import { Help } from "@sj-ab/component-library.ui.icons"
// then implement like this:
<Icon embeddedIcon={ Help } />
As an ultimate fallback the icon will render in a hmtl
Optional
fontIndicates the font size for the icon. Converts the number value from px to rem.
Optional
isIf true, a loading skeleton will be rendered instead of the component.
Optional
nameOptional
roleThe ARIA role of the icon.
Optional
skeletonOptional CSS properties to style the icon skeleton. This prop allows you to customize the icon's appearance.
Optional
styleOptional CSS properties to style the icon. This prop allows you to customize the icon's appearance.
Optional
wrappedReturn svg without wrapping box.
Aria hidden defaults to true