Skip to Content

Avatar

Avatar example: a round user picture with image, fallback initials and a corner status badge, in small, default and large sizes. AvatarGroup overlaps faces with a ring and adds a remaining count.

Installation

pnpm dlx shadcn@latest add @01orbital/avatar

Examples

Moss Orbavatar-moss-orb

Avatar example: an avatar painted as the moss Cloudy Nimbus orb beside a name, decorative and hidden from assistive tech, with its ring off. Shows an orb as a generated profile picture.

pnpm dlx shadcn@latest add @01orbital/avatar-moss-orb

Avatar components

The library's own avatar components, each installed on its own.

Planet Avatarplanet-avatar

Generated default avatar drawn as a planet: the name picks a colorway, so the same person always gets the same planet with nothing stored. Circle or squircle shape, handy as a user avatar or app icon fallback. Open its docs page

pnpm dlx shadcn@latest add @01orbital/planet-avatar

Dependencies

npm: @base-ui/react, cn. The CLI installs them for you.

Used in blocks

13 blocks are built with Avatar; the first 12:

Last updated on