Sizes
flx/avatar-04FreeBlock
Small, default, and large sizes side-by-side.
Install it
npx shadcn@latest add https://ui.flexnative.com/r/avatar-04.jsonSource
1import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'23const src =4 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?q=80&w=200&auto=format&fit=crop'56export function Avatar04() {7 return (8 <div className="flex items-center gap-4">9 <Avatar size="sm">10 <AvatarImage src={src} alt="Sofia Rodrigues" />11 <AvatarFallback>SR</AvatarFallback>12 </Avatar>13 <Avatar>14 <AvatarImage src={src} alt="Sofia Rodrigues" />15 <AvatarFallback>SR</AvatarFallback>16 </Avatar>17 <Avatar size="lg">18 <AvatarImage src={src} alt="Sofia Rodrigues" />19 <AvatarFallback>SR</AvatarFallback>20 </Avatar>21 </div>22 )23}
What it pulls in
Other registry items
Files it writes
More from flx
All 446 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Basicaccordion-01 | flx | Blocks | Free | no deps | |
| Multipleaccordion-02 | flx | Blocks | Free | no deps | |
| With iconsaccordion-03 | flx | Blocks | Free | no deps | |
| FAQaccordion-04 | flx | Blocks | Free | no deps | |
| Separated cardsaccordion-05 | flx | Blocks | Free | no deps | |
| Plus / minus iconaccordion-06 | flx | Blocks | Free | 1 dep | |
| Left chevronaccordion-07 | flx | Blocks | Free | 1 dep | |
| Rich contentaccordion-09 | flx | Blocks | Free | no deps |
