React Bootstrap Image Component

Image with Bootstrap Styling

CoreUI PRO for React.js & Bootstrap

Bootstrap 5 components designed for React.js

This component is part of the CoreUI for React.js UI components library, which offers all Bootstrap components designed to work seamlessly with React.js.

If you want to use Bootstrap 5 in a React.js environment while also needing advanced components that Bootstrap does not offer and dedicated developer support, then this library is the best solution for you.

Learn how to use the React Bootstrap Image component from CoreUI to create responsive, aligned, and styled images using Bootstrap-friendly utilities and props.

Responsive React Bootstrap Images#

The React Bootstrap Image component supports responsive behavior using the fluid prop. This applies max-width: 100% and height: auto to ensure images scale with their parent container.

React Bootstrap Image thumbnails#

Use the thumbnail prop to give an image a subtle border and padding, resulting in a thumbnail-style appearance. You can combine it with border-radius utilities for rounded corners.

Aligning React Bootstrap Images#

Use the align prop to control image alignment within the container. This allows you to float images left, right, or center them using Bootstrap-aligned values.

API reference#

Explore all available props and customization options for the React Bootstrap Image component below: