LLMs.txt
Mantine provides LLM-friendly documentation to help AI tools like Cursor, Windsurf, GitHub Copilot, ChatGPT, and Claude understand and work with the Mantine UI library.
llms.txt
documentation is updated with every Mantine release.
Available Documentation
Complete Documentation
Full Mantine documentation following the LLMs.txt standard (~1.8MB)
Documentation Structure
The llms.txt file includes:
- Getting Started - Installation and setup guides
- Components - All Mantine components with props, examples, and usage
- Hooks - Complete hooks documentation with examples
- Theming - Theme customization and MantineProvider setup
- Styles - CSS modules, CSS variables, and styling approaches
- Frequently Asked Questions - Common questions and solutions
Usage with AI Tools
Cursor
In Cursor, you can reference the documentation using the @Docs
feature:
- Type
@Docs
in your prompt - Reference the Mantine documentation URL:
https://mantine.dev/llms.txt
- Ask questions about Mantine components, styling, or implementation
Windsurf
For Windsurf users:
- Reference the documentation using
@https://mantine.dev/llms.txt
- Or add it to your
.windsurfrules
file for persistent access
ChatGPT & Claude
When using ChatGPT or Claude:
- Mention that you're using Mantine v8
- Reference the documentation URL:
https://mantine.dev/llms.txt
- The AI will fetch and use the documentation to provide accurate answers
GitHub Copilot
While Copilot doesn't directly support external documentation, you can:
- Include relevant documentation snippets in your comments
- Reference component names and props accurately for better suggestions
Example Prompts
Here are some example prompts you can use with AI tools:
- "Using Mantine v8, how do I create a dark mode toggle?"
- "Show me how to use the AppShell component with a collapsible navbar"
- "How can I customize the theme colors in MantineProvider?"
- "Create a form with validation using Mantine's form hooks"
- "How to align input with a button in a flex container?"
Documentation Generation
The LLM documentation is automatically generated from our source files using a compilation script. It includes:
- Component documentation from MDX files
- Props tables and types
- Code examples and demos
- Styles API documentation
- FAQ content from help.mantine.dev
To ensure you have the latest documentation, we regenerate the llms.txt file with each release. The file follows the LLMs.txt standard for better compatibility with AI tools.
Contributing
If you find any issues with the LLM documentation or have suggestions for improvement, please open an issue on our GitHub repository.