Widgets
Avatar

Avatar

Help user identify people


Anatomy

import { Avatar } from "@lualtek/react-components";
 
export default () => {
  return <Avatar src="..." />;
};

API Reference

export type AvatarProps = ImgHTMLAttributes<HTMLImageElement> & {
  /**
   * The source of the image to use as avatar
   */
  src?: string;
 
  /**
   * Define the size of the avatar
   * @default 'regular'
   */
  dimension?: "small" | "regular" | "big";
};