Skip to content
Theme UI
GitHub

Image

import { Image } from '@theme-ui/components'

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:
Link
Next:
Card