LLMs.txt
What is LLMs.txt?
LLMs.txt is a structured documentation format specifically designed for large language models (LLMs). Nuxt UI provides LLMs.txt files that contain comprehensive information about our component library, making it easy for AI tools to understand and assist with Nuxt UI development.
These files are optimized for AI consumption and contain structured information about components, APIs, usage patterns, and best practices.
Available Routes
We provide LLMs.txt routes to help AI tools access our documentation:
/llms.txt
- Contains a structured overview of all components and their documentation links (~5K tokens)/llms-full.txt
- Provides comprehensive documentation including implementation details, examples, theming, composables, and migration guidance (~1M+ tokens)
Choosing the Right File
/llms.txt
- it contains all essential information and works with standard LLM context windows.Use /llms-full.txt
only if you need comprehensive implementation examples and your AI tool supports large contexts (200K+ tokens).Important Usage Notes
@
symbol must be typed by hand in the chat interface. Copy-pasting breaks the tool's ability to recognize it as a context reference.Usage with AI Tools
Cursor
Nuxt UI provides specialized LLMs.txt files that you can reference in Cursor for better AI assistance with component development.
How to use:
- Direct reference: Mention the LLMs.txt URLs when asking questions
- Add these specific URLs to your project context using
@docs
Read more about Cursor Web and Docs Search
Windsurf
Windsurf can directly access the Nuxt UI LLMs.txt files to understand component usage and best practices.
Using LLMs.txt with Windsurf:
- Use
@docs
to reference specific LLMs.txt URLs - Create persistent rules referencing these URLs in your workspace
Read more about Windsurf Web and Docs Search
Other AI Tools
Any AI tool that supports LLMs.txt can use these routes to better understand Nuxt UI.
Examples for ChatGPT, Claude, or other LLMs:
- "Using Nuxt UI documentation from https://ui.nuxt.com/llms.txt"
- "Follow complete Nuxt UI guidelines from https://ui.nuxt.com/llms-full.txt"