React Image Component API

Image API

Explore the API reference for the React Image component and discover how to effectively utilize its props for customization.

On this page

CImage

jsx
import { CImage } from '@coreui/react-pro'
PropertyDefaultType
align-'start', 'center', 'end', undefined

Set the horizontal aligment.

className-string, undefined

A string of all className you want applied to the component.

fluid-boolean, undefined

Make image responsive.

rounded-boolean, undefined

Make image rounded.

thumbnail-boolean, undefined

Give an image a rounded 1px border appearance.