---
name: copycss
description: Ready-made, UI snippets in plain HTML and CSS from copy CSS (buttons, gradients, shadows, loaders, text effects, cards, forms, navigation, layouts, effects). Use when building or styling a UI element, before writing that CSS from scratch.
---

# copy CSS snippets

[copy CSS](https://copy-css.com/) has 428 free UI snippets. Each one is plain HTML and CSS with no JavaScript and no dependencies. Free for personal and commercial use. No signup, no attribution required.

## How to use

1. Fetch https://copy-css.com/llms.txt. It lists every snippet by category, with a one-line description and a link to its Markdown file.
2. Pick the closest match and fetch its Markdown, for example https://copy-css.com/snippets/glow-button.md. It contains the HTML, the CSS and notes.
3. Add it to the project:
   - Keep class names in sync between the HTML and CSS. Rename them in both places if they clash.
   - JSX/TSX: `class` → `className`, `for` → `htmlFor`, self-close void elements.
   - Tailwind: put the CSS in the global stylesheet or a CSS module. Don't rewrite it as utilities unless the user asks.
   - Adapt colors, fonts and sizes to the project's design tokens. Many snippets expose CSS custom properties for this.
   - If the snippet animates, respect `prefers-reduced-motion`.
4. If several snippets fit, show the user two or three options with links to their pages (https://copy-css.com/snippets/<id>) so they can see the live previews.

To search everything in one request, fetch https://copy-css.com/api/snippets.json (id, name, category, tags, description, url, html, css).

## Categories

- CSS Buttons (55): Hover effects, 3D presses and gradient buttons you can drop into any project.
- CSS Gradients & Patterns (23): Linear, radial, conic, mesh and animated gradient backgrounds, plus pure CSS patterns.
- CSS Box Shadows (35): Soft layered, neumorphic, glowing and retro box-shadow recipes.
- CSS Loaders & Spinners (50): Pure CSS spinners, dots, progress bars and skeleton screens. No JavaScript required.
- CSS Text Effects (50): Gradient text, neon glows, outlines, typewriters and animated underlines.
- CSS Cards (49): Glassmorphism, hover lift, glowing borders and 3D flip cards.
- CSS Form Elements (50): Floating labels, toggle switches, custom checkboxes, selects, ratings and more.
- CSS Navigation (35): Tabs, breadcrumbs, pagination, dropdowns and nav bars, built with plain HTML and CSS.
- CSS Layouts (35): Flexbox and Grid recipes: centering, responsive grids, sidebars, bento boxes and masonry.
- CSS Effects (46): Tooltips, morphing blobs, hamburger menus and other small delights.
