Skip to content

ImageListItemBar API

API reference docs for the React ImageListItemBar component. Learn about the props, CSS, and other APIs of this exported module.

Demos

Import

import ImageListItemBar from '@mui/material/ImageListItemBar';
// or
import { ImageListItemBar } from '@mui/material';

Learn about the difference by reading this guide on minimizing bundle size.

Props

Props of the native component are also available.

NameTypeDefaultDescription
actionIconnode-

An IconButton element to be used as secondary action target (primary action target is the item itself).

actionPosition'left'
| 'right'
'right'

Position of secondary action IconButton.

classesobject-

Override or extend the styles applied to the component.

See CSS classes API below for more details.

position'below'
| 'bottom'
| 'top'
'bottom'

Position of the title bar.

subtitlenode-

String or element serving as subtitle (support text).

sxArray<func
| object
| bool>
| func
| object
-

The system prop that allows defining system overrides as well as additional CSS styles.

See the `sx` page for more details.

titlenode-

Title to be displayed.

The ref is forwarded to the root element.

Theme default props

You can use MuiImageListItemBar to change the default props of this component with the theme.

CSS classes

These class names are useful for styling with CSS. They are applied to the component's slots when specific states are triggered.

Class nameRule nameDescription
.MuiImageListItemBar-actionIconactionIconStyles applied to the actionIcon if supplied.
.MuiImageListItemBar-actionIconActionPosLeftactionIconActionPosLeftStyles applied to the actionIcon if actionPosition="left".
.MuiImageListItemBar-positionBelowpositionBelowStyles applied to the root element if position="below".
.MuiImageListItemBar-positionBottompositionBottomStyles applied to the root element if position="bottom".
.MuiImageListItemBar-positionToppositionTopStyles applied to the root element if position="top".
.MuiImageListItemBar-rootrootStyles applied to the root element.
.MuiImageListItemBar-subtitlesubtitleStyles applied to the subtitle container element.
.MuiImageListItemBar-titletitleStyles applied to the title container element.
.MuiImageListItemBar-titleWraptitleWrapStyles applied to the title and subtitle container element.
.MuiImageListItemBar-titleWrapActionPosLefttitleWrapActionPosLeftStyles applied to the container element if actionPosition="left".
.MuiImageListItemBar-titleWrapActionPosRighttitleWrapActionPosRightStyles applied to the container element if actionPosition="right".
.MuiImageListItemBar-titleWrapBelowtitleWrapBelowStyles applied to the title and subtitle container element if position="below".

You can override the style of the component using one of these customization options: