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

For examples and details on the usage of this React component, visit the component demo pages:

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.

actionIcon

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

Type:

node
actionPosition

Position of secondary action IconButton.

Type:

'left' | 'right'

Default:

'right'
classes

Override or extend the styles applied to the component.

Type:

object
position

Position of the title bar.

Type:

'below' | 'bottom' | 'top'

Default:

'bottom'
subtitle

String or element serving as subtitle (support text).

Type:

node
sx

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

Type:

Array<func | object | bool> | func | object
title

Title to be displayed.

Type:

node

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

The following class names are useful for styling with CSS (the state classes are marked).
To learn more, visit the component customization page.

.MuiImageListItemBar-rootroot

Styles applied to the root element.

.MuiImageListItemBar-positionBottompositionBottom

Styles applied to the root element if position="bottom".

.MuiImageListItemBar-positionToppositionTop

Styles applied to the root element if position="top".

.MuiImageListItemBar-positionBelowpositionBelow

Styles applied to the root element if position="below".

.MuiImageListItemBar-titleWraptitleWrap

Styles applied to the title and subtitle container element.

.MuiImageListItemBar-titleWrapBelowtitleWrapBelow

Styles applied to the title and subtitle container element if position="below".

.MuiImageListItemBar-titleWrapActionPosLefttitleWrapActionPosLeft

Styles applied to the container element if actionPosition="left".

.MuiImageListItemBar-titleWrapActionPosRighttitleWrapActionPosRight

Styles applied to the container element if actionPosition="right".

.MuiImageListItemBar-titletitle

Styles applied to the title container element.

.MuiImageListItemBar-subtitlesubtitle

Styles applied to the subtitle container element.

.MuiImageListItemBar-actionIconactionIcon

Styles applied to the actionIcon if supplied.

.MuiImageListItemBar-actionIconActionPosLeftactionIconActionPosLeft

Styles applied to the actionIcon if actionPosition="left".

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