❯dart_tui
ComponentsBlocksExamplesGuides

Guides

  • Installation
  • Model–Update–View
  • Commands
  • Program options
  • Styling
  • Colors & gradients
  • Text & layout
  • Readline keys
  • File logging
  • Architecture notes
  • Examples

Components

  • Spinner
  • Progress bar
  • Text input
  • Text area
  • Select list
  • List (fuzzy filter)new
  • Tabs
  • Table
  • Tree
  • Multi-selectnew
  • Cursor
  • Viewport
  • Timer
  • Stopwatch
  • Paginator
  • Help
  • File picker
  • Spring

Blocks

  • Formsnew
  • Prompts
  • Gum helpers
  • Canvas compositing
  • Package manager
  • Showcase gallery

Examples

  • Multiple views
  • Shopping list
  • Real-time updates
  • Program.send()
  • Sequenced commands
  • Prevent quit
  • Focus & blur
  • Print key
  • Window size
  • Fullscreen
  • Alt-screen toggle
  • Set window title
  • Cursor style
  • Piped input
  • Vanish
  • Chained prompts

Guides

Guides

Learn the Model–Update–View architecture, commands, program options, styling and the runtime internals.

11 entries

  • Installation

    Add dart_tui to your project and render your first view.

  • Model–Update–View

    The Elm-style architecture at the heart of dart_tui.

  • Commands

    Run async work and control the terminal with Cmd.

  • Program options

    Configure the runtime — alt screen, mouse, FPS, focus and more.

  • Styling

    Lipgloss-inspired, composable, immutable text styling.

  • Colors & gradients

    True-color text, per-character gradients and background detection.

  • Text & layout

    Word wrap, width measurement, truncation and tab expansion.

  • Readline keys

    Emacs-style editing bindings in text input & text area.

  • File logging

    Write diagnostics to a file without corrupting the UI.

  • Architecture notes

    How the event loop and renderers actually work.

  • Examples

    60+ runnable programs covering every feature.

❯dart_tui

Elm-style terminal UI framework for Dart. Inspired by Bubble Tea & Lipgloss, built in pure Dart.

Components

  • Spinner
  • Progress bar
  • Text input
  • Text area
  • Select list
  • List (fuzzy filter)

Blocks

  • Forms
  • Prompts
  • Gum helpers
  • Canvas compositing
  • Package manager
  • Showcase gallery

Examples

  • Multiple views
  • Shopping list
  • Real-time updates
  • Program.send()
  • Sequenced commands
  • Prevent quit

Guides

  • Installation
  • Model–Update–View
  • Commands
  • Program options
  • Styling
  • Colors & gradients

Resources

  • GitHub
  • pub.dev
  • Bubble Tea
  • Lipgloss

Released under the MIT License. © 2026 dart_tui.

v1.4.0 · built with Next.js on Vercel