Components
Avatar
A graphical representation of a user or profile.
A
Installation
NPM packages are currently unstable and may cause issues. Use it at your own risk.
npm install @mijn-ui/react-avatarUsage
import { Avatar, AvatarFallback, AvatarImage } from "@mijn-ui/react-avatar";<Avatar>
<AvatarImage src="https://github.com/shadcn.png" />
<AvatarFallback>CN</AvatarFallback>
</Avatar>Avatar Sizes
Loading...
Avatar Group
Loading...
Avatar Status
Loading...
Avatar Style Slots
| Slot Name | Targeted Component | Purpose |
|---|---|---|
base | Avatar | Styles the root Avatar component. |
image | AvatarImage | Styles the avatar image. |
fallback | AvatarFallback | Styles the fallback content when the image is missing. |