# Avatar Thumbnail URL: /docs/web/components/avatar-thumbnail Avatar Thumbnail component with multiple variants and sizes. **Demo:** ```tsx 'use client'; // @custom-demo import { useState } from 'react'; import { AvatarThumbnail } from '@docyrus/ui/components/avatar-thumbnail'; import { Input } from '@docyrus/ui/primitives/ui/input'; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@docyrus/ui/primitives/ui/select'; import { cn } from '@docyrus/ui/primitives/lib/utils'; type Shape = 'rounded' | 'circle' | 'square'; const PRESET_ICONS = [ { value: 'fal star', label: 'Star' }, { value: 'fal user', label: 'User' }, { value: 'fal heart', label: 'Heart' }, { value: 'fal building', label: 'Building' }, { value: '🎉', label: 'Emoji: Party' }, { value: '🚀', label: 'Emoji: Rocket' }, { value: '', label: 'None (fallback)' } ]; const PRESET_COLORS = [ { value: '#3b82f6', label: 'Blue' }, { value: '#10b981', label: 'Green' }, { value: '#f59e0b', label: 'Amber' }, { value: '#ef4444', label: 'Red' }, { value: '#6366f1', label: 'Indigo' }, { value: '#ec4899', label: 'Pink' }, { value: '', label: 'None' } ]; export function AvatarThumbnailDemo() { const [shape, setShape] = useState