Skip to content
Theme UI
GitHub

Image

import { Image } from 'theme-ui'

Variants

Image style variants can be defined in the theme.images object.

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