Importing Icons
Import icons individually by name from the package. Icon names use PascalCase with an “Icon” suffix:Basic Rendering
Render icons as React components. By default, they animate on hover:Customizing Size
All icons accept asize prop to control their dimensions. The default size is 28 pixels:
Common Props
Icons extend standard HTML div attributes, so you can pass any props you’d normally use:Animation on Hover
Each icon has a unique animation that plays on hover. The animation behavior varies by icon:HeartIcon
Scales up and down with a pulse effect
BellIcon
Rotates back and forth like a ringing bell
CheckIcon
Draws the checkmark path from start to finish
ActivityIcon
Animates the activity line from left to right
Complete Example
Here’s a complete example showing multiple icons with different sizes and hover animations:Hover animations are disabled when using imperative control via refs. See the Imperative Control guide for more details.