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
Prop | Type | Description |
---|---|---|
name | string | Required. The name of the user. |