# Giggles – A batteries-included React framework for TUIs

i built a framework that handles focus and input routing automatically for you -- something born out of the things that ink leaves to you, and inspired by charmbracelet's bubbletea - hierarchical focus and input routing: the hard part of terminal UIs, solved. define focus regions with useFocusScope…

- **Page:** https://magpie.gallery/i/giggles-a-batteries-included-react-framework-for-t-p5wj
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Runs on:** windows, macos, linux
- **Tags:** react, terminal, tui, framework, focus

## Source

Web · ajz317: Giggles – A batteries-included React framework for TUIs

- **Original:** https://news.ycombinator.com/item?id=47227171

> i built a framework that handles focus and input routing automatically for you -- something born out of the things that ink leaves to you, and inspired by charmbracelet's bubbletea - hierarchical focus and input routing: the hard part of terminal UIs, solved. define focus regions with useFocusScope, compose them freely -- a text input inside a list inside a panel just works. each component owns its keys; unhandled keypresses bubble up to the right parent automatically. no global handler like useInput, no coordination code - 15 UI components: Select, TextInput, Autocomplete, Markdown, Modal, Viewport, CodeBlock (with diff support), VirtualList, CommandPalette, and more. sensible defaults, render props for full customization - terminal process control: spawn processes and stream output into your TUI with hooks like useSpawn and useShellOut; hand off to vim, less, or any external program and reclaim control cleanly when they exit - screen navigation, a keybinding registry (expose a ? help menu for free), and theming included - react 19 compatible! docs and live interactive demos in your browser: https://giggles.zzzzion.com quick start: npx create-giggles-app https://github.com/zion-off/giggles

## GitHub projects

- https://github.com/zion-off/giggles

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
