shadcn.io is not affiliated with official shadcn/ui
Avatar examples · Square
Avatar with Verification Check (Square) for React
A square avatar with a blue verified badge at its bottom corner.
On a square avatar, a verified badge marks an official organization, a first-party integration or a vetted partner. This React avatar is rounded-lg, with a check badge in the info color on a small background-colored circle at its bottom corner, and a visually hidden Verified label. Use it in app marketplaces and workspace directories.
Preview
Installation
FAQ
How is the avatar squared off around the check?
rounded-lg is on Avatar, AvatarImage, and AvatarFallback, and after:rounded-lg is on Avatar. The check is a separate circle on the wrapper, so it doesn't take those classes.
How is the checkmark built?
A span at -end-1 -bottom-1 is size-4, rounded-full, and bg-background. BadgeCheckIcon uses fill-info and text-background, at size-full.
How is the check announced?
The icon is aria-hidden. Visually hidden "Verified" in the span is the name.
Which corner does the check use?
The bottom end, via -end-1 -bottom-1 on a relative w-fit wrapper. The end edge flips in a right-to-left page.
Related
- Avatar SquareA square avatar with a profile picture
- Avatar with Verification Check (Standard)A round avatar with a blue verified badge
- Avatar with Online Indicator (Square)A square avatar with a green dot at the
- Avatar with Count Indicator (Square)A square avatar with a red count of
- Avatar with Offline Indicator (Square)A square avatar with a gray dot at the
- Avatar with Placeholder Icon (Square)A square avatar with no picture that