Setup Zed editor to correctly generate daisyUI code based on your prompt.
To setup Tailwind CSS syntax support and IntelliSense, see Tailwind CSS docs.
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 Zed:
@fetch https://daisyui.com/llms.txt
/fetch https://daisyui.com/llms.txt
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 using Context7 MCP server which provides many libraries including daisyUI.
Press ⌘ CMD + ⇧ Shift + P (or ⌃ Ctrl + ⇧ Shift + P on Windows)
Type agent: add context server
Add this name and server:
context7
npx -y @upstash/context7-mcp@latest
Now in Agent Mode
you can ask AI anything about daisyUI, and write use context7
at the end of your prompt.
For example:
give me a light daisyUI 5 theme with tropical color palette. use context7