Icon
Component Icon
for Font Awesome 6
. Plain and simple.
html
<Card>
<Icon icon="house" />
</Card>
Props
icon
: icon name. Yo don't need to specifyfa-
or-solid
.
html
<Card>
<Icon icon="rocket-launch" />
</Card>
colorType
: icon color (null
,primary
,brand
,negative
,greyscale
,success
,danger
,warning
,info
,disabled
).
html
<Card>
<Icon icon="music" colorType="warning" />
</Card>
animation
: icon animation (null
,beat
,beat-fade
,bounce
,fade
,flip
,shake
,spin
,spin-reverse
,spin-pulse
).
html
<Card>
<Icon icon="music" animation="bounce" />
</Card>
rotation
: icon rotation (null
,rotate-90
,rotate-180
,rotate-270
,flip-horizontal
,flip-vertical
,flip-both
).
html
<Card>
<Icon icon="rocket-launch" rotation="flip-both" />
</Card>
size
: icon size (defaults
), (xs
,s
,m
,l
).
html
<Card>
<Icon icon="music" size="l" />
</Card>
variant
: icon variant, in case you have included moreFont Awesome
variants.Vuersaile Components
only comes withsolid
bundled. (Defaultsolid
), (solid
,regular
,light
,thin
,duotone
,brands
).
html
<Card>
<Icon icon="rocket" variant="regular" size="l" />
</Card>