List Item
tile/listItem
Adds a single row inside a list. Use these child components: tile/text, tile/link, or tile/icon.
This component has no configurable properties. Provide content through child components.
Use a list item for a single row inside a tile/list. It carries the row’s content with text, links, and icons while the parent list owns the spacing and markers. A list item has no attributes of its own. It shows content provided by its children.
Put the list item inside a tile/list. Markers and density come from the parent list, not the item.
A list item can hold several children to combine an icon, text, and a link in one row.
Consider these guidelines when working with list items.
- Compose each row from
tile/text,tile/link, andtile/iconchildren rather than putting content directly on the item. - To make a whole row clickable, attach an action to the item rather than wrapping its contents in a separate control.
Note any limitations that apply to this component.
No known limitations for tile/listItem in Slackbot.
No known limitations for tile/listItem in ChatGPT.
No known limitations for tile/listItem in Agentforce.