Listy
@rockshin/tao-uiRenders scrollable item collections with grouping and optional virtualization.
When to use
Use for long scrollable collections. The data prop is items, each item needs a stable rowKey, and itemRender defines the row. Selection belongs to your row controls.
Examples
Basic items
Virtualization is off by default. Set height to create a bounded scrolling region.
One thousand virtual rows
virtual renders the visible window instead of mounting every row at once.
Grouped rows and sticky headings
group.key chooses a group; group.title renders its header. sticky keeps the current heading visible inside this list.
Scroll to a record or group
The ref accepts an item key, group key, numeric offset or a coordinate object.
Wide content and RTL
scrollWidth enables horizontal scrolling for rows wider than the viewport. Toggle direction to inspect RTL behavior.
Scroll events and semantic styles
onScroll exposes the scrolling element. rowHoverable controls row highlighting.