Avatar
The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.
Installation
CLI
Manual
npx hq-kit add avatar
Basic
Preview
Code
Avatar Initials
Use the initials
prop to display the initials of the user.
Preview
Code
Fallback
If the image fails to load and no initials, the icon will be displayed
Preview
Code
Shape
Preview
Code
Size
Preview
Code
Avatar Group
You can use the AvatarGroup
component to display a group of avatars.
Preview
Code