A declarative Unix terminal UI library written in Haskell
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.