Skip to main content

Avatar

The Avatar component displays a user's initials in a styled container, often used for user profiles.

Example Usage

import React from 'react';
import { Avatar } from '@ginger-society/ginger-ui';

export const AvatarExample = () => (
<Avatar name="John Doe" />
);

Demo

JD

Props

Avatar

PropTypeDescription
namestringRequired. The name of the user.