Avatar
DisplayWeb + NativeMITUser avatar with image, fallback initials, and optional status indicator.
bun add @otfdashkit/ui
Preview
AvatarDisplay
Loading Storybook preview…
Code
@otfdashkit/uiimport { Avatar, AvatarFallback, AvatarImage } from '@otfdashkit/ui'
export function Example() {
return (
<div className="flex gap-3 items-center">
<Avatar className="h-8 w-8">
<AvatarImage src="https://github.com/shadcn.png" alt="shadcn" />
<AvatarFallback>SC</AvatarFallback>
</Avatar>
<Avatar>
<AvatarFallback>JD</AvatarFallback>
</Avatar>
<Avatar className="h-14 w-14">
<AvatarImage src="https://github.com/vercel.png" alt="Vercel" />
<AvatarFallback>V</AvatarFallback>
</Avatar>
</div>
)
}
Free with the SDK. This component ships in @otfdashkit/ui under the MIT license.