OverflowList
Hide items that do not fit in a container and display them as a single collapsed item
Source
LLM docs
Docs
Package
Usage
Apple
Banana
Cherry
Date
Elderberry
Fig
Grape
Honeydew
Indian Fig
Jackfruit
Kiwi
Lemon
Mango
Nectarine
Orange
Papaya
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.
Apple
Banana
Cherry
Date
Elderberry
Fig
Grape
Honeydew
Indian Fig
Jackfruit
Kiwi
Lemon
Mango
Nectarine
Orange
Papaya
Max visible items
Use maxVisibleItems to limit visible items count. By default, there is no limit.
Apple
Banana
Cherry
Date
Elderberry
Example: overflow with hover card
You can use any React components in renderOverflow function. Example
of displaying collapsed items inside HoverCard:
Apple
Banana
Cherry
Date
Elderberry
Fig
Grape
Honeydew
Indian Fig
Jackfruit
Kiwi
Lemon
Mango
Nectarine
Orange
Papaya