Avatar

An image element representing a user

<Avatar>

import { Avatar } from '@strum/react';
name
type
default
alt*
Required
string
-
fallbackText
string
-
shape
"circle" | "square" | "rounded"
circle
size
ConditionalStyle<Values<MapLeafNodes<{ '0': string; '1': string; '2': string; '3': string; '4': string; '5': string; '6': string; '7': string; '8': string; '9': string; '10': string; '11': string; '12': string; auto: string; full: string; fitContent: string; maxContent: string; ... 4 more ...; gapY: string; }, CSSVa...
8
src
string
-

You can pass any size from the availble sizing tokens.