Avatar

Brand avatar used as a logo across the site. Two variants: photo with a profile image and rotating accent-gradient border, and icon with an animated accent-gradient orb.

Variants

Gabriel Hidalgo
Photo
Icon
tsx
<Avatar variant="photo" />
<Avatar variant="icon" />

Sizes

Gabriel Hidalgo
32px (default)
Gabriel Hidalgo
40px (lg)
32px (default)
40px (lg)
tsx
<Avatar variant="photo" />          {/* 32px default */}
<Avatar variant="photo" size="lg" /> {/* 40px */}

Use Cases

Photo

Gabriel Hidalgo

Gabriel Hidalgo

UX/UI Designer

Icon

Gabriel Hidalgo

UX/UI Designer

Props

PropTypeDefaultDescription
variant"photo" | "icon""photo"Photo shows the profile image with a rotating accent-gradient border. Icon shows an animated accent-gradient orb inside a dark container.
size"default" | "lg""default""default" renders at 32×32 with rounded-sm. "lg" renders at 40×40 with a slightly larger radius.
classNamestring-Additional classes merged onto the outer container — for one-off tweaks (hover effects, etc.). Do not override size here; use the size prop.

Import

tsx
import { Avatar } from '@/components/ui/Avatar'