Expand description
A tab navigation widget for Ratatui with bordered boxes and rounded corners.
Each tab renders as an individual bordered box. The active tab opens into the content below via rounded junction corners while inactive tabs maintain a continuous baseline.
§Example
use ratatui::style::{Color, Style};
use tui_tabs::TabNav;
let widget = TabNav::new(&["Files", "Search", "Settings"], 0)
.highlight_style(Style::new().fg(Color::Cyan))
.border_style(Style::new().fg(Color::DarkGray));Structs§
- TabNav
- Tab navigation rendered as individually bordered boxes.