---
title: "Introducing the Symfony Tui Component (Symfony Blog)"
url: https://daily.dev/posts/introducing-the-symfony-tui-component-symfony-blog--n57ssbwjg
source_url: https://symfony.com/blog/introducing-the-symfony-tui-component
type: article
source: "Symfony"
published: 2026-03-26T10:19:03.770Z
updated: 2026-03-26T10:19:33.465Z
tags: ["php", "cli", "symfony"]
reading_time: 6
upvotes: 27
comments: 2
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Introducing the Symfony Tui Component (Symfony Blog)

**[Symfony](https://daily.dev/sources/symfony)** · 6 min read · 27 upvotes · 2 comments

## Summary

Fabien Potencier announces the Symfony Tui component, a new PHP library for building rich interactive terminal user interfaces. It splits responsibilities previously mixed in the Console component: Console handles commands and arguments, while Tui handles widgets, layouts, styling, input, mouse support, and real-time rendering. The component ships with a full widget toolkit (text, input, editor, select lists, markdown, images, progress bars, overlays), a CSS-like styling system with Tailwind utility classes and stylesheet rules, Twig-based declarative templates, and a smart rendering pipeline with dirty tracking, render caching, and screen diffing. It runs on PHP Fibers and the Revolt event loop for concurrency without extensions, requiring PHP 8.4+. The component is already used in production powering an AI coding agent.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://symfony.com/blog/introducing-the-symfony-tui-component>

## Community discussion

Top comments from developers on daily.dev.

**@allinonetools** · 3 upvotes

> This is a nice separation of concerns. Having a dedicated TUI layer with widgets, styling, and real-time rendering makes building interactive CLI apps much cleaner than overloading the Console component.

**@pentiminax** · 3 upvotes

> Awesome!

## Similar posts on daily.dev

- [New in Symfony 8.1: Tui Component \(Symfony Blog\)](https://daily.dev/posts/new-in-symfony-8-1-tui-component-symfony-blog--qm6wbszzn) · Symfony · 0 upvotes · 0 comments
- [SymfonyOnline June 2026: Building TUIs in PHP: The Symfony Terminal Component \(Symfony Blog\)](https://daily.dev/posts/symfonyonline-june-2026-building-tuis-in-php-the-symfony-terminal-component-symfony-blog--khcsrw492) · Symfony · 0 upvotes · 0 comments

---

Tags: [#php](https://daily.dev/tags/php), [#cli](https://daily.dev/tags/cli), [#symfony](https://daily.dev/tags/symfony)

[View this post on daily.dev](https://daily.dev/posts/introducing-the-symfony-tui-component-symfony-blog--n57ssbwjg)
