OverflowList
Hide items that do not fit in a container and display them as a single collapsed item
Source
LLM docs
Docs
Package
Usage
Data type
OverflowList data prop supports an array of any type. By default, OverflowList infers
data type from the data array automatically. To specify data type explicitly, pass
generic type argument to the component:
Max rows
Use maxRows to limit visible rows count. By default, 1 row is visible.
Max visible items
Use maxVisibleItems to limit visible items count. By default, there is no limit.
Collapse from
By default, items are collapsed from the end. Set collapseFrom="start" to collapse
items from the beginning, for example to keep the last items of breadcrumbs visible.
Example: overflow with hover card
You can use any React components in renderOverflow function. Example
of displaying collapsed items inside HoverCard: