Edit page

List

Lists present multiple line items vertically as a single continuous element.

Lists are made up of a continuous column of rows. Each row contains a tile. Primary actions fill the tile, and supplemental actions are represented by icons and text.

Lists are best suited for similar data types.

Import Syntax

Basic Usage

Controlled List

Minimal List

Minimal MultiSelect List

Selectable List

Lots of Content

Props

List default

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component; can contain ListHeader, ListItem, and even another List.
nestedBoolfalse-Applied when the List is imbedded inside another List.
openBoolfalse-Whether the List should be collapsed or expanded.
minimalBoolfalse-Minimal styling for the List
multiSelectBoolfalse-Display check marks for selected ListItems, used with the `minimal` and `nested` properties
selectableBoolfalse-Selectable styling for the List

ListHeader

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component.

ListItem

PropertyTypeRequiredDefaultDescription
childrenNodefalse-Content of the ListItem.
leftNodeNodefalse-Content placed to the left of the ListItem.
rightNodeNodefalse-Content placed to the right of the ListItem.
activeBoolfalse-Toggle the active style of a ListItem
filterItemBoolfalse-Add some styles to display a Search element properly inside a ListItem
disabledBoolfalse-Toggle the disabled state of the ListItem, results in the item being unselectable and slightly lower opacity

ListItemTitle

PropertyTypeRequiredDefaultDescription
childrenNodefalse-Content of the ItemTitle.
nestedBoolfalse-Applied when the List is imbedded inside another List.

ListItemSubtitle

PropertyTypeRequiredDefaultDescription
childrenNodefalse-Content of the Subtitle.
nestedBoolfalse-Applied when the List is imbedded inside another List.