React Image Component API

Image API

Rocket
New Year sale. Skyrocket your business in 2025!
Extra 25% off for all sale items + Free CoreUI Icons PRO with every order!
Limited-time offer for the first 100 customers in 2025. Use code 2025SKY25 at checkout.

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

On this page

CImage#

import { CImage } from '@coreui/react'
// or
import CImage from '@coreui/react/src/components/image/CImage'
PropertyDefaultType
align#-'start', 'center', 'end'

Set the horizontal aligment.

className#-string

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

fluid#-boolean

Make image responsive.

rounded#-boolean

Make image rounded.

thumbnail#-boolean

Give an image a rounded 1px border appearance.