#widgets #tree #tui #terminal

tui-tree-widget-table

Tree Widget for ratatui with table

3 unstable releases

0.2.0 Feb 2, 2025
0.1.1 Sep 19, 2023
0.1.0 Sep 19, 2023

#431 in Command-line interface

Download history 2/week @ 2024-12-03 17/week @ 2024-12-10 102/week @ 2025-01-28 31/week @ 2025-02-04

133 downloads per month

MIT license

42KB
810 lines

Ratatui Tree Widget

Widget built to show Tree Data structures with an optional added table.

This crate was forked from (tui-rs-tree-widget)https://github.com/EdJoPaTo/tui-rs-tree-widget in order to add the table functionality, which is not upstreamed due to the overall low quality of my changes.

It is discouraged to use this crate.

Screenshot Screenshot with table


lib.rs:

Widget built to show Tree Data structures.

Tree widget Tree is generated with TreeItems (which itself can contain TreeItem children to form the tree structure). The user interaction state (like the current selection) is stored in the TreeState.

Dependencies

~5MB
~85K SLoC