giggles 0.3.15 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,19 @@ giggles is a batteries-included react framework for building terminal apps. buil
|
|
|
10
10
|
|
|
11
11
|
inspired by the [charmbracelet](https://github.com/charmbracelet) ecosystem, it comes with a rich set of UI components, hooks for focus and navigation management, and terminal utilities for things like running shell commands.
|
|
12
12
|
|
|
13
|
+
## features
|
|
14
|
+
|
|
15
|
+
- no `useInput` hooks scattered across your app — focus, input routing, and keyboard navigation are handled for you
|
|
16
|
+
- navigate between views with a simple API; the previously focused component is restored when you return
|
|
17
|
+
- a full set of hooks and components — `useFocus`, `FocusGroup`, `FocusTrap`, `useNavigation`, and more — for building any interaction pattern without reimplementing the plumbing
|
|
18
|
+
- built-in keybinding registry so your app can always show users what keys do what, in the current context — context-aware and accessible via a hook
|
|
19
|
+
- a component library covering most TUI use cases, from text inputs and autocomplete to virtual lists for large datasets — with sensible defaults and render props for full customization
|
|
20
|
+
- render markdown in the terminal, with full formatting and syntax-highlighted code block and diff support
|
|
21
|
+
- hand off terminal control to external programs like `vim` or `less` and reclaim it cleanly when they exit (similar to `tea.ExecProcess` from charmbracelet/bubbletea)
|
|
22
|
+
- a consistent look out of the box, customizable from a single theme object
|
|
23
|
+
|
|
24
|
+
## your first TUI
|
|
25
|
+
|
|
13
26
|
to get started, run
|
|
14
27
|
|
|
15
28
|
```bash
|