Ratatui Logo Example
Demonstrates branding with the official logo widget.
A polished application often needs an βAboutβ screen or a splash screen. This widget provides the standardized project branding.
Features Demonstrated
-
RatatuiLogo Widget: Renders the Ratatui ASCII art logo.
-
Centering: Techniques for centering fixed-size content in a fluid layout.
Hotkeys
-
q: Quit
Usage
ruby examples/widget_ratatui_logo/app.rb
Learning Outcomes
Use this example if you need toβ¦
-
Create a splash screen.
-
Add an βAboutβ modal to your application.
-
See how to center a widget both vertically and horizontally.
