Code editors and LLMs

Setup your code editor to correctly generate daisyUI code based on your prompt.

daisyui.com/llms.txt file is a compact, text version of daisyUI docs to help AI generate accurate daisyUI code based on your prompt.
Here’s how to use daisyUI llms.txt in your code editor:

VSCode VSCode and Copilot

Copilot can generate daisyUI code for you.
Add daisyUI’s llms.txt file to your repo so that Copilot can use it by default.

  1. Run this command to save the llms.txt file to .vscode/daisyui.md

    curl -L https://daisyui.com/llms.txt --create-dirs -o .vscode/daisyui.md
  2. In .vscode/settings.json Add this:

    .vscode/settings.json
    {
      "github.copilot.chat.codeGeneration.instructions": [
        {
          "file": "./.vscode/daisyui.md"
        }
      ]
    }

VSCode Cursor

  1. Press ⌘ CMD + ⇧ Shift + P. Or if it’s Windows, press ⌃ Ctrl + ⇧ Shift + P.
  2. Type Add new custom docs
  3. Add this:
    https://daisyui.com/llms.txt
  4. Now in chat window you can type @daisyui to provide daisyUI docs to Cursor.

VSCode Zed

  1. In chat window type this and press Enter ↵
    /fetch https://daisyui.com/llms.txt
daisyUI store

NEXUS
Official daisyUI Dashboard Template

Available on daisyUI store

More details