Skip to main content
View Zag.js on Github
Join the Discord server

LLMs.txt

What is LLMs.txt?

We support LLMs.txt files for making the Zag JS documentation available to large language models (LLMs). This feature helps AI tools better understand our component library, its APIs, and usage patterns.

Available Routes

We provide several LLMs.txt routes to help AI tools access our documentation:

Usage with AI Tools

Cursor

Use the @Docs feature in Cursor to include the LLMs.txt files in your project. This helps Cursor provide more accurate code suggestions and documentation for Zag JS components.

Read more about @Docs in Cursor

Windstatic

Reference the LLMs.txt files using @ or in your .windsurfrules files to enhance Windstatic's understanding of Zag JS components.

Read more about Windstatic Memories

Other AI Tools

Any AI tool that supports LLMs.txt can use these routes to better understand Zag JS. Simply point your tool to any of the routes above based on your framework of choice.

Edit this page on GitHub

Proudly made in🇳🇬by Segun Adebayo

Copyright © 2025
On this page