Shadcn/ui Avatar - Figma Component
An image element with a fallback for representing the user. This Figma component is part of our comprehensive design system that brings the popular shadcn/ui library into your design workflow.
Every Avatar variant includes all the necessary states, properties, and styling options you need to create consistent, production-ready designs. The component seamlessly integrates with your existing Figma files and maintains full compatibility with the shadcn/ui React implementation.
Features
- Automatic fallback to initials when image fails to load
- Built with Radix UI Avatar primitive for reliability
- Multiple size variants from small to extra large
- Support for circular and rounded square shapes
- Status indicators for online, offline, and away states
- Works with avatar groups and stacked layouts
Browse all 56 components
- Accordion5 variants
- Alert Dialog5 variants
- Alert4 variants
- Aspect Ratio2 variants
- Avatar8 variants
- Badge5 variants
- Breadcrumb5 variants
- Button Group10 variants
- Button13 variants
- Calendar9 variants
- Card4 variants
- Carousel5 variants
- Chart6 variants
- Checkbox6 variants
- Collapsible3 variants
- Combobox10 variants
- Command4 variants
- Context Menu8 variants
- Data Table1 variant
- Date Picker6 variants
- Dialog4 variants
- Direction1 variant
- Drawer3 variants
- Dropdown Menu11 variants
- Empty5 variants
- Field11 variants
- Hover Card2 variants
- Input Group12 variants
- Input OTP8 variants
- Input13 variants
- Item9 variants
- Kbd4 variants
- Label1 variant
- Menubar4 variants
- Navigation Menu1 variant
- Pagination2 variants
- Popover3 variants
- Progress2 variants
- Radio Group5 variants
- Resizable2 variants
- Scroll Area1 variant
- Select5 variants
- Separator3 variants
- Sheet2 variants
- Sidebar1 variant
- Skeleton5 variants
- Slider5 variants
- Sonner3 variants
- Spinner6 variants
- Switch5 variants
- Table2 variants
- Tabs4 variants
- Textarea4 variants
- Toggle Group6 variants
- Toggle4 variants
- Tooltip3 variants
Designing avatars in Figma
The shadcn/ui figma Avatar component includes fallback states with user initials for when images don't load. Design complete user profiles in Figma with all states—image loaded, initials fallback, and loading. This shadcn figma component matches the code behavior exactly.
Avatar sizes for different contexts
Design with the right avatar size in Figma—large (64px) for profiles, medium (40px) for comments, and small (32px) for lists. The shadcn/ui figma component includes all standard sizes so you can prototype different layouts quickly.
Status indicators and badges
Add online/offline status to your Figma avatar designs with the shadcn figma component. Design presence indicators for messaging apps, collaboration tools, and live chat. Your Figma designs will match the shadcn/ui implementation perfectly.
Avatar groups in Figma
Design team displays and user groups in Figma with overlapping avatars. The shadcn/ui figma Avatar component includes group variants with proper spacing and overflow counts (+5 users). Perfect for designing collaboration features and team pages.
Your questions, answered
Common questions about the Avatar component in the shadcn/ui Figma kit.
The Avatar component includes an automatic fallback system. If the image fails to load, it displays the user's initials or a custom fallback component. This ensures your UI always looks complete even when images are unavailable.
Yes! The Avatar component supports status indicators. You can add a small badge or dot to show if a user is online, offline, away, or busy. The indicator position and styling are fully customizable.
Avatar groups are created by placing multiple Avatar components together with negative margin spacing. The component includes variants specifically designed for group layouts, including overlapping styles and hover effects.
The Avatar component comes in multiple sizes: xs (24px), sm (32px), md (40px), lg (48px), and xl (64px). You can also create custom sizes by adjusting the dimensions in your Figma file or code.
Yes, the Avatar supports both circular (default) and rounded square shapes. The rounded square variant is great for brand logos or when you need a more angular aesthetic in your design.
Yes, this Figma Avatar component is built to match the shadcn/ui implementation exactly, including all states, sizes, and fallback behaviors for consistent design-to-code translation.