componente · @solu30/ui-kit/display
AvatarInitials
Simple avatar component that displays initials from a name. Generates consistent colors based on the name hash. Uses CSS variables for text color: - `--ui-content-inverse` for initials text
El componente, montado
Cargando el espécimen…
Cargando el chunk del paquete instalado…
De dónde se importa
import { AvatarInitials } from '@solu30/ui-kit/display'Props
| Prop | Requerida | Tipo | Qué hace |
|---|---|---|---|
| name | sí | string | — |
| size | opcional | "sm" | "md" | "lg" | — |
| className | opcional | string | — |