Skip to main content
Version: 4.0.0-rc.7

ListItem

ListItems are used to display rows of information, such as a contact list, playlist, or menu. They are very customizable and can contain switches, avatars, badges, icons, and more.

Usage

Import

import { ListItem } from '@rneui/themed';

Theme Key

ListItem

Default

Loading...

Icon

Loading...

Avatar

Loading...

LinearGradient

Loading...

Accordion

Use as a collapsible list item refer props for ListItem.Accordion

Loading...

Swipeable

Try swiping list item, refer props for ListItem.Swipeable

Loading...

Checkbox

Refer props for ListItem.CheckBox

Loading...

Props

note

Includes all View props.

NameTypeDefaultDescription
ComponentReact ComponentReplace element with custom element.
ViewComponentReact ComponentContainer for linear gradient.
bottomDividerbooleanAdd divider at the bottom of the list item.
childrenanyAdd enclosed children.
containerStyleView StyleAdditional main container styling.
disabledStyleView StyleSpecific styling to be used when list item is disabled.
linearGradientPropsanyProps for linear gradient component.
padnumberAdds spacing between the leftComponent, the title component & right component.
topDividerbooleanAdd divider at the top of the list item.

Playground

Loading...