ListTile

Card component to display an item with optional thumbnail and description.

Useful as a search result, with optional highlighting of the search query within the label text.

If the item has a label property, that label will display. Otherwise, the item's value property will display.

Demos

Default

A ListTile can be used to display the thumbnail, label, and description of an item.

Without thumbnail

With long title and default thumbnail

Within a list

With graphemes

Usage

Props

Prop nameDescriptionTypeValuesDefault
itemThe item to be displayed.SearchResult-
searchQueryThe current search query.string-''
highlightQueryWhether the query should be highlighted within the label.boolean-false
hideThumbnailWhether the thumbnail should be hidden.boolean-false
hideDescriptionWhether the description should be hidden.boolean-false

Last updated: