CSS snippets your AI can use

Give Cursor, Claude Code, Lovable, Bolt, v0 or any coding agent 428 ready-made UI components. Better-looking results than CSS generated from scratch, in fewer tokens.

1. Copy a prompt

Every snippet has a Copy for AI button. It copies a one-sentence prompt with a link to the snippet's Markdown version. Your AI tool opens the link, reads the HTML, CSS and setup notes, and adds the component to whatever stack you use. Paste it into the chat of Lovable, Bolt, v0, Cursor or Claude Code. If your tool can't open links, use “copy the full prompt” on the snippet's page.

Try it on the Glow Button

2. Add one rule to your project

Paste this into your agent's project instructions, for example AGENTS.md, CLAUDE.md, a Cursor rule in .cursor/rules/, or the custom instructions or knowledge settings of your AI builder. From then on, your agent checks copy CSS whenever it builds UI.

AGENTS.md
## UI snippets (copy CSS)
When you need a UI element (button, loader, card, gradient, shadow, form control, text effect, navigation or layout), check copy CSS before writing the CSS from scratch:
1. Read https://copy-css.com/llms.txt to find a matching snippet.
2. Fetch its Markdown, e.g. https://copy-css.com/snippets/glow-button.md, which contains the HTML and CSS.
3. Use the code as is: keep the class names in sync, use className instead of class in JSX, and adapt colors and fonts to this project's design.
copy CSS snippets are pure CSS, free for commercial use, no attribution required.

3. Install the Agent Skill

For Claude Code and other tools that support Agent Skills (SKILL.md). Run this in your project folder:

Terminal
mkdir -p .claude/skills/copycss && curl -fsSL https://copy-css.com/skill/SKILL.md -o .claude/skills/copycss/SKILL.md

Or open SKILL.md and save it yourself.

Endpoints for agents

Static, public, no API key, CORS enabled.

URLWhat it returns
/llms.txtIndex of every snippet with a one-line description and link (llmstxt.org format)
/llms-full.txtAll 428 snippets with full HTML and CSS in one Markdown file
/snippets/glow-button.mdOne snippet as Markdown: description, HTML, CSS and notes
/api/snippets.jsonThe whole library as JSON, with HTML, CSS, tags and categories
/api/snippets/glow-button.jsonOne snippet as JSON
/skill/SKILL.mdAgent Skill for Claude Code and other tools that support SKILL.md

Questions

Can AI-generated projects use copy CSS snippets commercially?

Yes. Every snippet is free for personal and commercial use, including in apps built with AI tools. No attribution is required.

Do the snippets work with React, Next.js and Tailwind?

Yes. They are plain HTML and CSS. In JSX, change class to className. In Tailwind projects, put the CSS in your global stylesheet or a CSS module.

Which AI tools does this work with?

Any tool that can read a prompt or fetch a URL: Cursor, Claude Code, Windsurf, GitHub Copilot, Lovable, Bolt, v0, Replit and ChatGPT.

Do agents need an API key?

No. Everything is public: the MCP server, llms.txt, Markdown and JSON files, with CORS enabled so browser-based agents can use them too.

Feedback