<p align="center"><img src="https://tsquare.dev/logo.png" alt="tsquare" width="140"></p>

# tsquare docs

tsquare is a small text language for UI wireframes. A `.tsq` file describes a board of screens; the `tsquare` CLI checks it and renders it to SVG or PNG. It's built for models to write, and easy for people to read and edit.

- [Getting started](https://tsquare.dev/docs/getting-started.md): render your first wireframe.
- [The language](https://tsquare.dev/docs/language.md): lines, bare words, lists, comments, screens and devices, errors.
- [Components](https://tsquare.dev/docs/components.md): every component with a rendered example, its source, and its props.
- [Icons](https://tsquare.dev/docs/icons.md): where the icons come from, the common ones, and every name.
- [Colors](https://tsquare.dev/docs/colors.md): the accent color, badge tones, and input errors.
- [Embedding](https://tsquare.dev/docs/embedding.md): wireframes in Notion, GitHub and your own site.
- [Element positions](https://tsquare.dev/docs/element-positions.md): where each element is drawn, for making a board clickable.
- [Using it with AI](https://tsquare.dev/docs/ai.md): the MCP server, the model prompt, the repair loop, and the Claude skill.
