Skip to content

Gelatin UI docs

Install Gelatin UI and build with it through your AI agent. Every page has a prompt to copy and a Markdown copy for the agent.

2 min read

Prompt for your agent

Set up Gelatin UI in this project. Read https://gelatinui.com/docs.md, then do each step of https://gelatinui.com/docs/install.md. You are done when @gelatin-ui/button is in the project and the app builds.

Your agent reads /docs.md: the same text as this page, as Markdown.

How to use these docs

Your agent does the work, and you check it. Each page gives the agent what it needs in plain text.

  • A prompt on every page. Copy it into your agent. It names the Markdown copy of the page and says when the task is done.
  • A Markdown copy of every page. Add .md to the URL, or send the header Accept: text/markdown to the page URL.
  • The same text for you and the agent. The page shows the Markdown as it is, with no tabs and no hidden parts.
  • Commands that run as written. Each step names the files that it changes.

Connect your agent

Do these three steps once in each project. Then ask for UI in plain words, and the agent finds and adds the components and blocks.

  1. Add the agent skill. It teaches the agent how our components fit together.
  1. Add the MCP server. The agent uses it to search, read the docs of a component, and plan the install.
  1. Add our rules to the AGENTS.md file of your project. Add rules to AGENTS.md has the block to paste.

These commands are for Claude Code. For Codex, Cursor, and other agents, see Install the agent skill and Connect the MCP server.

Files for agents

FileWhat it holds
/docs/llms.txtEvery docs page, with the link to its Markdown copy.
/llms.txtEvery component and block page, with the link to its Markdown copy.
/llms-full.txtThe docs of every component and block in one file.
/r/registry.jsonThe shadcn registry index of every public Free item.
/.well-known/agent-skills/index.jsonThe agent skill index: the skill folder as one archive, with its digest.
https://gelatinui.com/mcpThe MCP server: search, docs, install plans, and checks of your code.

Each Markdown answer sends an x-markdown-tokens header with its rough size in tokens, so an agent knows the cost before it reads.

All pages