apps/design-system/content/docs/components/avatar.mdx
npx shadcn-ui@latest add avatar
<Step>Install the following dependencies:</Step>
npm install @radix-ui/react-avatar
<Step>Copy and paste the following code into your project.</Step>
<ComponentSource name="avatar" /><Step>Update the import paths to match your project setup.</Step>
</Steps> </TabsContent> </Tabs>import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'
<Avatar>
<AvatarImage src="https://github.com/mildtomato.png" />
<AvatarFallback>CN</AvatarFallback>
</Avatar>