Skip to content

List

Rows with headline, overline, supporting text and leading or trailing content (icons, avatars, images, video thumbnails); items can be links, switches, checkboxes or radio buttons, and put in order by drag or a menu.

import { List, ListItem, ListSection, ListItemImage, ListItemVideo, ListItemAvatar, useListItemReorder } from '@windmorph/react';

Playground

  • Alex MorganProduct designer
  • Priya ShahEngineering lead
  • Sam OkaforResearch

Code

import { List, ListItem } from '@windmorph/react'; <List  variant="segmented"  aria-label="Contacts">  <ListItem key="alex" supportingText="Product designer">    Alex Morgan  </ListItem>  <ListItem key="priya" supportingText="Engineering lead">    Priya Shah  </ListItem>  <ListItem key="sam" supportingText="Research">    Sam Okafor  </ListItem></List>

Examples

Static list

Images and video

Dividers and line limits

Interactive list

Single and multiple selection

Sections

Switch and checkbox items

Radio list

Expandable items

Putting items in order

Density