Textual is a Python framework for building sophisticated user interfaces with a simple API. The current version is 8.2.0, released on March 27, 2026. It follows a regular release cadence, with updates approximately every few weeks.
pip install textualVerified import paths — ran on the pinned version, not inferred.
A minimal Textual application with a header, footer, and placeholder.
Update code to use 'Select.NULL' instead of 'Select.BLANK'.
Avoid using 'App.PAUSE_GC_ON_SCROLL_' in production code.
Update calls to `on_resize()` to include the `height` argument, or modify its definition to match the new signature if you are implementing it.
Update the signature of `MyApp.on_resize()` to accept a 'height' argument, or ensure it is called with the 'height' argument if the signature is already correct according to the expected API.
pip install textual
from textual.widgets import Button
Button('Click Me')Define a method in your App or Screen class: `def on_button_pressed(self, event: Button.Pressed): ...`