beautiful-shadows
What it does
This skill gives an AI agent ready-made Tailwind shadow classes for cards, panels and popovers. It is for web builders who want refined depth instead of the default shadow looks.
When to use it
- ✓When cards, panels or popovers look flat or too generic.
- ✓When you want a subtle shadow for small controls and form fields.
- ✓When a hero image or modal needs a stronger, softer lift.
Skill link
https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/beautiful-shadows/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Give my pricing cards a refined, neutral shadow using Tailwind classes instead of the default one.”
5 new skills a week. 1 minute to read.
How it works
The agent chooses one of three shadow levels, small, medium or large, and applies the exact class. Each level uses several soft layers of gray shadow rather than one blunt shadow.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Beautiful Shadows
Use When
- A surface needs polished, layered elevation.
- Default Tailwind shadows feel too generic or blunt.
- The design needs neutral, refined depth without colored glow.
Shadow Utilities
Use these exact Tailwind classes.
Beautiful sm
Use for compact cards, form controls, pills, and quieter surfaces.
shadow-[0px_2px_3px_-1px_rgba(0,0,0,0.1),0px_1px_0px_0px_rgba(25,28,33,0.02),0px_0px_0px_1px_rgba(25,28,33,0.08)]
Beautiful md
Use for cards, panels, popovers, and the default elevated surface style.
shadow-[0px_0px_0px_1px_rgba(0,0,0,0.06),0px_1px_1px_-0.5px_rgba(0,0,0,0.06),0px_3px_3px_-1.5px_rgba(0,0,0,0.06),_0px_6px_6px_-3px_rgba(0,0,0,0.06),0px_12px_12px_-6px_rgba(0,0,0,0.06),0px_24px_24px_-12px_rgba(0,0,0,0.06)]
Beautiful lg
Use for hero media, feature callouts, modal-like containers, and the strongest lift.
shadow-[0_2.8px_2.2px_rgba(0,_0,_0,_0.034),_0_6.7px_5.3px_rgba(0,_0,_0,_0.048),_0_12.5px_10px_rgba(0,_0,_0,_0.06),_0_22.3px_17.9px_rgba(0,_0,_0,_0.072),_0_41.8px_33.4px_rgba(0,_0,_0,_0.086),_0_100px_80px_rgba(0,_0,_0,_0.12)]
Examples
<div class="rounded-xl bg-white shadow-[0px_0px_0px_1px_rgba(0,0,0,0.06),0px_1px_1px_-0.5px_rgba(0,0,0,0.06),0px_3px_3px_-1.5px_rgba(0,0,0,0.06),_0px_6px_6px_-3px_rgba(0,0,0,0.06),0px_12px_12px_-6px_rgba(0,0,0,0.06),0px_24px_24px_-12px_rgba(0,0,0,0.06)]">
...
</div>
Usage Rules
- Use
Beautiful smfor compact cards, form controls, pills, and quieter surfaces. - Use
Beautiful mdfor cards, panels, popovers, and the default elevated surface style. - Use
Beautiful lgfor hero media, feature callouts, modal-like containers, and the strongest lift. - Pair with a clean surface fill and a consistent radius.
- Use one shadow strength per component state unless an interaction clearly changes elevation.
Avoid
- Mixing these with default Tailwind shadow scales on the same component.
- Tinting these shadows with strong colors; keep them neutral and refined.
- Applying
Beautiful lgto dense lists or tiny controls. - Stacking multiple shadow utilities on one element.
- Using these as a substitute for clear borders in very low-contrast layouts.
FAQ
What do small, medium and large mean?
Small suits compact cards and controls, medium suits panels and popovers, and large suits hero media or modals.
Are the shadows colored?
No. The skill uses neutral shadows without colored tinting.
Do I need extra setup?
No. The skill uses Tailwind arbitrary value classes, so the shadows work wherever Tailwind is used.
Details
Original description by the author
Apply exact Tailwind arbitrary shadow utilities for polished, layered neutral elevation. Use when compact cards, controls, panels, popovers, hero media, feature callouts, or modal-like containers need refined shadows without default Tailwind shadow scales or colored tinting.
repo: MengTo/Skills
Popularity
- GitHub stars
- 7.2k
- Ranking position
- #13401
- License
- MIT
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
3d-cloth-material
7.2kHelps your agent build realistic woven fabric in Three.js, with thread weave, soft sheen, natural folds, hems and seams.
3d-falling-leaves
7.2kHelps your agent add realistic falling leaves to a 3D scene, with leaves that tumble, drift with the wind and recycle as the camera moves.
3d-four-seasons
7.2kHelps your agent add spring, summer, fall and winter looks to a 3D scene, changing foliage, light, sky and snow without rebuilding it.
3d-high-poly-models
7.2kHelps your agent build detailed 3D models with smooth shapes and believable edges, then prepare lighter versions that run well on the web.
Similar skills
canvas
394kLets your agent show a hosted visual widget on a connected Mac panel, then hide the panel or move it to another page.
control-ui
394kHelps your agent organize and troubleshoot the OpenClaw Control UI, including sessions, dashboards, and connected Gateways.
diagram-maker
394kHelps your agent create clear diagrams as SVG, HTML, or editable Excalidraw files for processes, system architecture, and whiteboard sketches.