# Textual

> Build cross-platform user interfaces with a simple Python API, in the terminal or a web browser

Source: https://talira.ai/catalog/textual-pc0d510k
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework
- Categories: [libraries / terminal ui](https://talira.ai/categories/libraries/terminal-ui), [languages / python](https://talira.ai/categories/languages/python)
- Platforms: linux, macos, windows, web[^2]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]

Textual is a [Python](https://talira.ai/catalog/python-tgjs08pq.md) framework for building terminal user interfaces that also run in a web browser. Its API borrows from web development: apps are composed from decoupled widgets, styled with CSS and arranged with a flexible layout system, with predefined themes so they look good out of the box. The widget library covers buttons, tree controls, data tables, inputs, text areas and more, every app gets a fuzzy-search command palette, and an advanced testing framework helps keep apps maintainable. It's asynchronous under the hood but doesn't force async on you. The `textual-dev` package adds a dev console that shows an app's logs and events from another terminal, and `textual serve` puts any Textual app in the browser. It's MIT licensed.

## Links

- Website: https://textual.textualize.io/
- GitHub: https://github.com/Textualize/textual
- Docs: https://textual.textualize.io/guide/

## Problems it solves

- build a rich interactive terminal app in Python with widgets and mouse support
- a TUI dashboard for my Python tool that also runs in the browser
- style a terminal user interface with CSS instead of hand-drawing it
- show a sortable data table in the terminal from my Python script
- write automated tests for a terminal user interface

## Features

- widget library: buttons, trees, data tables, inputs, text areas
- CSS styling and flexible layouts
- predefined themes
- fuzzy-search command palette
- testing framework
- dev console (textual-dev)
- serve apps in a web browser with textual serve

## Capabilities

- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.20 out of 1.
Signals: backing 0.00, extensibility 0.20.

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Python](https://talira.ai/catalog/python-tgjs08pq.md)

## Alternatives

- [Ink](https://talira.ai/catalog/ink-zhdj57js.md): React for interactive command-line apps
- [Bubble Tea](https://talira.ai/catalog/bubble-tea-ns56q3sy.md): A Go framework for building terminal apps, based on The Elm Architecture
- [Ratatui](https://talira.ai/catalog/ratatui-wphpz21c.md): A Rust library for building fast, lightweight, rich terminal user interfaces

## Sources

[^1]: https://github.com/Textualize/textual/blob/main/LICENSE (checked 23 Nov 2026)
[^2]: https://github.com/Textualize/textual (checked 23 Nov 2026)
