Command Palette

Search for a command to run...

Docs
Verified Avatar

Verified Avatar

An avatar component with a verified badge indicator.

Installation

Usage

import AvatarVerified from "@/components/ruixen/avatar-verified";
 
export default function MyAvatar() {
  return (
    <AvatarVerified
      src="https://github.com/shadcn.png"
      alt="User"
      fallback="CN"
    />
  );
}

Props

PropTypeDefaultDescription
srcstring"https://github.com/shadcn.png"The image source URL
altstring"User"Alt text for the avatar image
fallbackstring"U"Fallback text when image fails
classNamestring-Additional CSS classes