View as Markdown

API reference: @salmonui/layout/avatar

AvatarVarianttype

import type { AvatarVariant } from '@salmonui/layout/avatar';
type AvatarVariant = 'soft' | 'solid';

'soft' (default): a tinted fill with tone text. 'solid': the tone fill with on-color text (neutral: gray with white).