Avatar

Avatar is an image that represents a user or organization.

@radix-ui/react-slot

@lucide/react

Installation


1

Install the following dependencies:

npx shadcn@latest add https://sbthemes-storev2.vercel.app/r/avatar.json

Examples


Variants

Size

Radius

Avatar Group


API Reference

The main wrapper for the avatar component. This component is based on the <div> element and supports all of its props and adds:

PropTypeDefault
variantdefault ,outlinedefault
sizexs, sm, md, lg, xlxl
radiusdefault, md, lg, xl,nonedefault