Uiscore Avatar

Identity primitive with text, icon and user-plug variants.

Install command

npx @uiscore/cli add avatar

Registry JSON

/registry/avatar.json

Usage

import { Avatar } from "./shared/ui/components/avatar";
import { AvatarGroup } from "./shared/ui/components/avatar-group";

export function Example() {
  return (
    <AvatarGroup size="default">
      <Avatar type="text" name="Danil" />
      <Avatar type="icon" showBottomStatus bottomStatusColor="green" />
      <Avatar type="userPlug" showTopStatus />
    </AvatarGroup>
  );
}

Agent guidance