Reference
Comprehensive reference documentation for Silvery's APIs, packages, and terminal capabilities.
Quick Reference
- Components & Hooks -- Index of all components and hooks
- Components -- Component API details
- Hooks -- Hook API details
- Recipes -- Common patterns and solutions
Packages
- Packages -- All public and internal packages
- @silvery/ansi -- Terminal styling, color detection, theme derivation
- @silvery/commander -- Type-safe CLI with colorized help
- @silvery/theme -- Theme tokens, palettes, and derivation pipeline
Styling & Theming
- Style -- Chainable terminal styling API (chalk replacement)
- Theming -- Semantic color tokens and progressive enhancement
Input & Events
- Input Features -- Kitty keyboard, SGR mouse, hotkey parsing
- Lifecycle -- Terminal lifecycle (suspend, resume, interrupt)
- Streams -- AsyncIterable stream helpers
Text
- Text Cursor -- Flat offset to visual position mapping
- Text Sizing -- OSC 66 text sizing protocol
Rendering & Layout
- Scroll Regions -- DECSTBM scroll region optimization
- Signals -- Reactive signals (coming soon)
- Plugins -- Plugin composition architecture
Terminal
- Terminal Capabilities -- Protocol support and detection
- Terminal Matrix -- Cross-terminal compatibility matrix
- Devtools -- React DevTools integration
Patterns
- Robust Ops -- Identity-based ops for undo and sync
- Ink/Chalk Compatibility -- Migration API mapping