Buy me a coffee

Avatar

An image of a person, with a fallback while it loads or if it can't.

Reka UI Avatar

Group

Installation

npx distill-ui add avatar

It installs reka-ui if you don't have it yet.

Customizing

Set any of these on the component or on a parent element. See Customizing for how they work.

Custom propertyDefault
--dui-avatar-fallback-bgvar(--dui-color-muted)
--dui-avatar-size2rem
--dui-avatar-radiusvar(--dui-radius-full)