MDUIDocs
Copy llms.txt linkCopy llms-full.txt linkView this page in MarkdownDiscuss this page with ChatGPTDiscuss full project docs with ChatGPT
Preset Colors
Custom Color
Extract from Wallpaper
Please select a wallpaper
Getting Started
AI-Assisted Development
LLMs.txt MCP Server
Styles
Integration with Frameworks
Components
Functions
Libraries

LLMs.txt

mdui provides two files: llms.txt and llms-full.txt. These files give LLMs accurate, citable context to help them answer questions about mdui more reliably.

Use llms.txt to provide context to AI

Links:

llms.txt is a short index. It is ideal for models that can browse the web. They can follow the links to retrieve the Markdown pages they need, or use the file as a quick project overview.

llms-full.txt contains the full context. It includes all page contents listed by llms.txt. Use it when the model cannot access the internet or when you prefer to provide everything in one file.

Markdown versions of the docs

Every documentation page has a Markdown version. Append .md to the page URL (append index.md for the home page).

Examples:

https://www.mdui.org/en/docs/2/components/button → https://www.mdui.org/en/docs/2/components/button.md
https://www.mdui.org/en/docs/2/ → https://www.mdui.org/en/docs/2/index.md

You can provide the Markdown URL or paste its plain text as context. This often leads to more focused, accurate answers.

How to use with ChatGPT, Claude, etc.

Choose a method based on whether the model can browse or upload files (you can also combine methods):

  1. Paste directly: put the content of llms-full.txt in the system prompt or the first message.

    Example: "Here is the mdui context. Answer strictly based on it. If there is a conflict, this context overrides it:\n\n[paste llms-full.txt here]".

  2. Upload a file: upload llms-full.txt (or llms.txt) and say in the first message: "Use the attachment as the main context".

    Example: "Based on the attached mdui docs, describe how to use <mdui-button> and list common pitfalls."

  3. Read online: send a link to llms.txt or llms-full.txt.

    Example: "Please load and use https://www.mdui.org/en/docs/2/llms-full.txt as context for my mdui questions."

  4. Point to a specific page: if you only need one component or function, send that page’s Markdown URL.

    Example: "Please read https://www.mdui.org/en/docs/2/components/button.md and provide three best practices based on it."

Tip: Click the icon at the top right of any page to quickly copy these links, open the Markdown version, or open the current page or llms-full.txt in ChatGPT as context.

On this page