class RatatuiRuby::Widgets::Tabs

Displays a tab bar for navigation.

Screen real estate is limited. You cannot show everything at once. Segregating content into views is necessary for complex apps.

This widget separates dimensions. It displays a row of titles, indicating which view is active.

Use it at the top of your interface to switch between major modes or contexts.

Example

Run the interactive demo from the terminal:

ruby examples/widget_tabs/app.rb