Skip to main content
Skip table of contents

ListItem

Overview

ListItem is a Subresource of Lists and represents a distinct string value within a list.

Please refer to this for more information: https://mui.com/material-ui/api/list-item/.

Import

CODE
import { List, ListItem } from '@mui/material';

The above source will be imported automatically after dragging and dropping the Basic Component to the UI Preview Panel.

Property

Property:

Name

Default

Description

Id-name

Placeholder: <id-name>

The Id-name of the created component.

State

State: Normal

The State of the created Component.

Margin and Padding

Size Unit: Px

The component Margin and Padding with many selectable Size Units.

Size

Size Unit: Px

The component Size includes Width and Height with many selectable Size Units.

Alignment

Align-items: None

The component Alignment includes Align-item.

Layout

Position: None

Size Unit: Px

The component Layout includes Position and Top - Right - Bottom - Left with many selectable Size Units.

General

Visibility: None

Opacity: 100%

The component General includes Visibility, Opacity, and Background.

Advanced Style

The component Advanced Style includes Classname and Inline Style addition.

Code Sample:

CODE
<ListItem
                    sx={{':active': {'margin': '10px 20px','padding': '10px 20px',
                    'width': '150px','height': '200px',
                    'position': 'relative','top': '10px','right': '20px','bottom': '20px','left': '10px',
                    'visibility': 'visible',},}}
                     alignItems="center">
</ListItem>

Related Components

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.