Avatar
An avatar with image fallback, status dot, colors, sizes, and stackable groups.
uiNew Releaseclass-variance-authority
Installation
$npx futureuikit add avatar
Import
import { Avatar } from "@/components/ui/avatar"
Layout Variant
Color Theme
Named Keys & Props
Pass these exact named keys as props on <Avatar />. Click any color pill to copy the prop.
colorDefault is "default"(Black & White)shapeCorner shape"default""square""rounded""sharp"sizeComponent size"xs""sm""md""lg""xl"Usage Example
A basic implementation example to get you started.
Example Implementation
import { Avatar } from"@/components/ui/avatar";
export default function Example() {
return <Avatar />;
}Features
Key capabilities and highlights.
Key Capabilities
- ◆An avatar with image fallback, status dot, colors, sizes, and stackable groups.
Notes
Important implementation details to consider.
Implementation Details
- ◆Install: Run 'npx futureuikit add avatar'.
- ◆Import: 'import { Avatar } from "@/components/ui/avatar";'