Follow the tutorials
Start with installation, hello_world, and counter; run code as you learn element!, #[component], hooks, input isolation, and routing.
Ratatui Kit’s documentation is organized as a progressive learning path: first build a terminal interface that actually runs, then layer on interaction, state, routing, and component composition, and finally move into the full API reference, built-in components, and advanced escape hatches.
The pacing is inspired by React’s Learn / Reference split and Vue’s Guide / API split: tutorials focus on the everyday 80% you need right now, while reference pages spell out boundaries, parameters, and internal mechanics. Every tutorial in these docs maps to a real example in the repository. When a page needs to show runtime behavior, it uses terminal assets recorded with VHS.
Follow the tutorials
Start with installation, hello_world, and counter; run code as you learn element!, #[component], hooks, input isolation, and routing.
Use reference when needed
Once you start writing real applications, jump into the component model, hooks, input layers, state, routing, and built-in component reference pages.
Use escape hatches last
When the built-in abstractions are not enough, read about custom hooks, providers, hand-written components, and native Ratatui widget bridges.
| What you want to do now | Matching docs | When to read |
|---|---|---|
| Build intuition | start/* | The first time you open the docs |
| Implement a feature | tutorials/*, apps/todo-app | When you want to code along with an example |
| Clarify API boundaries | core/*, components/* | Once you know what you want to use |
| Customize framework capabilities | advanced/* | When built-in components or hooks are not enough |
| Understand the design | internals/* | When debugging the runtime or contributing to the framework |