Icon

Icon's component main purpose is to render icons defined in ThemeProvider's icons section. It's being used internally in other falcon-ui components such as Checkbox to render default icons with option to overrride them using ThemeProvider.

Icon specific props

PropertyTypeRequiredDefaultDescription
srcstring-

string that needs to match one of the keys in icons section

fallbackReactNode-

fallback component to render when there is no icon defined for given src

Icon component accepts also all of the responsive, theme-based style props.

Theme

Component

Presets

Download


Colors
Spacing
Typography
Breakpoints
Borders
Miscellaneous