Skip to content
Theme UI
GitHub

Avatar

import { Avatar } from 'theme-ui'

Variants

Avatar style variants can be defined in the theme.images object and uses theme.images.avatar by default.

// example theme variants
{
images: {
avatar: {
width: 48,
height: 48,
borderRadius: 99999,
},
}
}
Edit the page on GitHub
Previous:
Spinner
Next:
Badge