Avatar
An image element with a fallback for representing the user.
Component Features
- 📏 Multiple Sizes: Supports
xs,sm,md,lg,xl,2xlsize specs. - 🔲 Multiple Shapes: Supports circle, square, and rounded rectangle shapes.
- 👥 Avatar Group: Use
BrAvatarGroupto stack multiple avatars. - 🏷️ Avatar Badge: Supports status badges (online/offline/busy/away) on avatars.
- 🖼️ Fallback: Displays fallback content when image fails to load.
- 🎨 Theme Customization: Supports custom border styles.
Basic Usage
Sizes
Use the size prop to control the size of the avatar.
Shapes
Use the shape prop to control the shape of the avatar.
Avatar Group
Use the BrAvatarGroup component to stack avatars together.
Avatar Badge
Use the BrAvatarBadge component to display a status badge.