0 Tk

image-list-item-bar

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 of the native component are also available.

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 classes API below for more details.
position ‘below’ | ‘bottom’ | ‘top’ ‘bottom’ Position of the title bar.
subtitle node - String or element serving as subtitle (support text).
sx Array<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.
title node - 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.

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

Class name Rule name Description
.MuiImageListItemBar-actionIcon actionIcon Styles applied to the actionIcon if supplied.
.MuiImageListItemBar-actionIconActionPosLeft actionIconActionPosLeft Styles applied to the actionIcon if actionPosition="left".
.MuiImageListItemBar-actionPositionLeft actionPositionLeft Styles applied to the action container element if actionPosition="left".
.MuiImageListItemBar-actionPositionRight actionPositionRight Styles applied to the action container element if actionPosition="right".
.MuiImageListItemBar-positionBelow positionBelow Styles applied to the root element if position="below".
.MuiImageListItemBar-positionBottom positionBottom Styles applied to the root element if position="bottom".
.MuiImageListItemBar-positionTop positionTop Styles applied to the root element if position="top".
.MuiImageListItemBar-root root Styles applied to the root element.
.MuiImageListItemBar-subtitle subtitle Styles applied to the subtitle container element.
.MuiImageListItemBar-title title Styles applied to the title container element.
.MuiImageListItemBar-titleWrap titleWrap Styles applied to the title and subtitle container element.
.MuiImageListItemBar-titleWrapActionPosLeft titleWrapActionPosLeft Styles applied to the container element if actionPosition="left".
.MuiImageListItemBar-titleWrapActionPosRight titleWrapActionPosRight Styles applied to the container element if actionPosition="right".
.MuiImageListItemBar-titleWrapBelow titleWrapBelow Styles 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:

Source code

If you did not find the information in this page, consider having a look at the implementation of the component for more detail.