ORIZEN/TUI

Help

stable

Auto-generated keybinding help panel for terminal UIs.

Browser preview is a simulation. The copied component runs in actual terminal apps.

help.tsx
↑/kmove up
↓/jmove down
←/hmove left
→/lmove right
?toggle help
qquit

Installation

npx orizen-tui@latest add help

if dependency install fails, run: npm install ink@^5.0.1 react@^18.3.1 @types/react@^18.3.18 orizen-tui-core@latest

Usage

help.imports.tsx
help.example.tsx

Examples

Usage

help.example1.tsx
↑/kmove up
↓/jmove down
←/hmove left
→/lmove right
?toggle help
qquit

API Reference

Help

bindings
KeyBinding[]

Array of { key, description } pairs

direction"row"
"row" | "column"

Layout direction for the binding list