txtui is a catalog of plain text UI components designed for AI agents.
When working with AI agents, sharing a visual image of a UI component can be difficult. txtui provides ready-to-copy text-based UI components that you can paste directly into your conversations with AI agents to quickly communicate your design intent.
Why txtui?
When you ask an AI agent to build a UI, describing what you want in words often leads to misunderstanding and multiple rounds of revision. txtui solves this by giving you ready-made text-based UI components that you can paste directly into your prompt.
- Smoother communication — Share the intent of individual UI parts clearly with AI agents — just copy and paste.
- Fewer iterations — A concrete visual reference helps the AI reach the desired output in fewer rounds.
- Save tokens — Plain text uses far fewer tokens than image analysis, and fewer iterations means even more savings.
- Works anywhere — Plain text works in CLI tools, API calls, and any chat interface — no image support required.
- Technology agnostic — You don't need to know HTML, SwiftUI, or any specific framework to communicate your design.
How to use
- Browse the component catalog on the top page
- Filter by tags to find the component you need
- Copy the variation that matches your intent
- Paste it into your AI agent conversation