Foundations
Components
- Accordion
- Alert Dialog
- Avatar
- Badge
- Banner
- BreadcrumbSOON
- Button
- Button Group
- Calendar
- Callout
- Card
- Checkbox
- CodeblockSOON
- Color Picker
- Container
- Control Group
- Dialog
- Dropdown
- File Uploader
- FlexBox
- FormSOON
- Grid View
- IconSOON
- ImageSOON
- Input
- Link
- List
- MenuSOON
- PaginationSOON
- Popover
- Progress
- Radio
- Section
- Select
- Separator
- Skeleton
- SliderSOON
- SpinnerSOON
- Switch
- Table
- Tabs
- Tag
- Textarea
- ToastSOON
- Tooltip
Avatar
A visual representation of a user or entity, displaying either an image or a fallback with initials. Built on Radix UI primitives and our design system.Examples
API Reference
It builds on top of Radix-UI Avatar
| Component | Description |
|---|---|
| Avatar | A visual representation of a user or entity, displaying either an image or a fallback with initials. |
| Avatar.Group | A component that clusters multiple Avatars together, perfect for displaying group or team members. |
Component Properties
Avatar
| Prop | Type | Default | Explanation |
|---|---|---|---|
size | string | md | The size of the Avatar. |
color | string | default | The color scheme of the Avatar. |
shape | string | circle | The shape of the Avatar. |
shadow | boolean | true | Whether to show a shadow effect. |
inactive | boolean | false | Whether the Avatar should appear inactive. |
src | string | - | The image source URL. |
alt | string | - | Alternative text for the image. |
Avatar.Group
| Prop | Type | Default | Explanation |
|---|---|---|---|
limit | number | - | Maximum number of avatars to display. |
number | number | - | Custom number to show in the overflow avatar. |
numberColor | string | default | Color of the overflow avatar. |