Zed setup for daisyUI

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

To setup Tailwind CSS syntax support and IntelliSense, seeTailwind CSS docs.

ZedZed LLM setup

daisyui.com/llms.txtfile 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 Zed:

Quick use

  • In Thread chat type this before your prompt
    prompt
    @fetch https://daisyui.com/llms.txt
  • Or in Text thread chat type this before your prompt
    prompt
    /fetch https://daisyui.com/llms.txt

MCP server

MCP is an API to communicate with AI models. You can add MCP servers to your code editor and Cursor will communicate with them to get more accurate results.

I suggest usingContext7 MCP serverwhich provides many libraries including daisyUI.

  1. Press⌘ CMD+⇧ Shift+P(or⌃ Ctrl+⇧ Shift+Pon Windows)

  2. Typeagent: add context server

  3. Add this name and server:

    name
    context7
    server
    npx -y @upstash/context7-mcp@latest
  4. Now inAgent Modeyou can ask AI anything about daisyUI, and writeuse context7at the end of your prompt.
    For example:

    prompt
    give me a light daisyUI 5 theme with tropical color palette. use context7
Do you have a question? Ask on GitHub or Discord server
Do you like daisyUI? Post about it!
Support daisyUI's development: Open Collective
daisyUI store

NEXUS
Official daisyUI Dashboard Template

Available on daisyUI store

More details