Skip to main content

Icon

Icon is a graphic element that displays SVG icons, such as a search glyph in a button or a status symbol beside text.

Import

import { Icon } from '@vortexlabs/vortex';
import type { IconProps } from '@vortexlabs/vortex';

Other links

Icon props
PropTypeDefaultAttributes
src
union
No default value
size
union
1em
color
union
default
autoWidth
boolean
false
className
union
No default value
attributes
object
No default value