Avatar
A stable identity image with initials or an explicit text fallback.
Preview
Use Avatar
Avatar is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- Name supplies the accessible image name; decorative suppresses duplicate naming next to an equivalent visible name.
- Fallback remains visible until the image loads and after a load error. Changing src starts a fresh load lifecycle.
- Native span props and ref target the root. Size and shape do not change during loading. Available in 0.2.4.
API reference
View TypeScript source