class RatatuiRuby::List

A widget that displays a list of selectable items.

items

An array of strings to display in the list.

selected_index

The index of the currently selected item, or nil if none.

style

The base style for all items.

highlight_style

The style for the selected item.

highlight_symbol

The symbol to display in front of the selected item.

block

An optional Block widget to wrap the list.