← All repos

brick

A declarative Unix terminal UI library written in Haskell

cursesframeworkhaskellterminaltuiuivty
Browse cluster: Terminal & CLI Output Styling
2,317commits
98contributors
2languages

Tech stack & purpose

Brick is a Haskell terminal user interface (TUI) programming toolkit that uses a declarative API to simplify the construction of terminal-based applications. Instead of requiring imperative widget creation and layout setup, brick lets developers describe their interface using declarative layout combinators and handle events through pattern matching on application state. The library builds on top of vty and vty-crossplatform, supporting Unix and Windows systems (with releases prior to 2.0 limited to Unix). Brick includes a comprehensive feature set with box layout widgets, text editors, lists, tables, progress bars, dialogs, borders, animations, scrollable viewports, forms, and a filesystem browser.

Community & reference links

Languages

Haskell
100.0%
Shell
0.0%

Contributors (top 30 of 98)