tui-widget-list: A versatile widget list for Ratatui
This crate provides a stateful widget ListView implementation for Ratatui.
The associated ListState, offers functionalities such as navigating to the next and previous items.
The list view support both horizontal and vertical scrolling.

Configuration
The ListView can be customized with the following options:
ListView::scroll_axis: Vertical or horizontal scrolling.ListView::scroll_direction: Forward or backward layout direction.ListView::scroll_padding: Padding preserved around the selected item while scrolling.ListView::infinite_scrolling: Wrap around when scrolling past the first or last element.ListView::style: Base style of the list.ListView::block: Optional outer block.ListView::scrollbar: Optional scrollbar.
Example
use *;
use ;
let builder = new;
let mut state = default;
let list = new;
Mouse handling
You can handle mouse clicks using ListState via hit_test:
use Hit;
match read?
Documentation
For more examples see tui-widget-list. For documentation see docs.rs.
License: MIT