A person's picture, round, with their initials until it loads.
Installation
Examples
Default
The fallback shows until the image loads, and stays if it fails.
demo.tsx
MK
Sizes
It is as tall as a Button, and sm and lg match a Button of the same size, so it sits in a row with one.
sizes.tsx
MKMKMK
Initials
Without an image, the fallback holds the initials, centered by their capitals, or an icon.
initials.tsx
- MKMara Kim
- ALAli Lund
- JSJon Sato
Anatomy
Each part's data-slot, which a theme styles, is beside it.
bun add @roprgm/ui