React QR Code

llms.txt

We support the llms.txt standard to help AI coding assistants better understand the @lglab/react-qr-code library, its API, and various customization options.

What is llms.txt?

The llms.txt file is a proposal to standardize the provision of information to Large Language Models (LLMs) at inference time. It provides a curated, LLM-friendly overview of a project, making it easier for AI tools to provide accurate code suggestions and documentation.

Available Routes

We provide two distinct files to cater to different levels of detail:

  • /llms.txt - A structured overview of the project with links to all documentation pages.
  • /llms-full.txt - A comprehensive technical reference including all component props, settings interfaces, and usage examples.

Usage with Cursor

You can use these files in Cursor to enhance its understanding of the library. For more details, see the Cursor Documentation.

  • Type @Docs in the chat or composer and select Add new doc. Paste https://reactqrcode.com/llms-full.txt to give Cursor full access to the library specification.
  • Alternatively, you can reference the file directly in any prompt by typing @https://reactqrcode.com/llms-full.txt for immediate context.