ThreadListItem

ThreadListItem renders a single item inside ThreadList. It’s split into:

  • ThreadListItem - component + provider that renders ThreadListItemUi
  • ThreadListItemUi - component that renders the UI

Best Practices

  • Customize ThreadListItemUi first to keep providers intact.
  • Keep list item UI concise to avoid scroll jank.
  • Use thread metadata from props instead of re-querying.
  • Ensure selection/active state remains clear in custom UI.
  • Reuse shared message components for visual consistency.

You can customize the UI, behavior, or both.

Props

thread

A thread instance provided by the ThreadList.

Type
Thread