Skip to content

🎉 Material UI v5 is out now! Check out the announcement blog post →

ImageListItemBar API

The API documentation of the ImageListItemBar React component. Learn more about the props and the CSS customization points.

Import

import ImageListItemBar from '@material-ui/core/ImageListItemBar';
// or
import { ImageListItemBar } from '@material-ui/core';

You can learn more about the difference by reading this guide.

Component name

The MuiImageListItemBar name can be used for providing default props or style overrides at the theme level.

Props

Name Type Default Description
actionIcon node 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.
classes object Override or extend the styles applied to the component. See CSS API below for more details.
position 'bottom'
| 'top'
'bottom' Position of the title bar.
subtitle node String or element serving as subtitle (support text).
title node Title to be displayed on item.
titlePosition 'bottom'
| 'top'
Deprecated. Use the position prop instead.

Position of the title bar.

The ref is forwarded to the root element.

Any other props supplied will be provided to the root element (native element).

CSS

Rule name Global class Description
root .MuiImageListItemBar-root Styles applied to the root element.
positionBottom .MuiImageListItemBar-positionBottom Styles applied to the root element if position="bottom".
positionTop .MuiImageListItemBar-positionTop Styles applied to the root element if position="top".
rootSubtitle .MuiImageListItemBar-rootSubtitle Styles applied to the root element if a subtitle is provided.
titleWrap .MuiImageListItemBar-titleWrap Styles applied to the title and subtitle container element.
titleWrapActionPosLeft .MuiImageListItemBar-titleWrapActionPosLeft Styles applied to the container element if actionPosition="left".
titleWrapActionPosRight .MuiImageListItemBar-titleWrapActionPosRight Styles applied to the container element if actionPosition="right".
title .MuiImageListItemBar-title Styles applied to the title container element.
subtitle .MuiImageListItemBar-subtitle Styles applied to the subtitle container element.
actionIcon .MuiImageListItemBar-actionIcon Styles applied to the actionIcon if supplied.
actionIconActionPosLeft .MuiImageListItemBar-actionIconActionPosLeft Styles applied to the actionIcon if actionPosition="left".

You can override the style of the component thanks to one of these customization points:

If that's not sufficient, you can check the implementation of the component for more detail.

Demos