Shadow Plugin: soft Tailwind shadows and one clean edge
flornkm/shadow-plugin
A small style add-on for websites built with Tailwind, plus one skill for your AI assistant. The add-on gives soft, layered shadows. The skill stops your assistant from putting a hard border and a shadow on the same card, which draws a double edge.
Pack description by its author: “A small style add-on for websites built with Tailwind, plus one skill for your AI assistant. The add-on gives soft, layered shadows. The skill stops your assistant from putting a hard border and a shadow on the same card, which draws a double edge.”
Design and frontendKnowledge and rules for your assistant
1. Changes your files
Skills that write or edit files: smooth-shadow-ring.
github.com/flornkm/shadow-plugin/blob/da27869/2. Runs code on your machine
Install: The skill is one markdown file. The npm package ships only built CSS (the dist folder); it has no install scripts. Your site build: Tailwind reads the CSS utilities. Nothing runs in the browser beyond CSS.
github.com/flornkm/shadow-plugin/blob/da27869/3. Sends data
github.com/flornkm/shadow-plugin/blob/da27869/Checked against the pack's files at commit da27869, on Nov 21, 2026. Tap a verdict to see its source.How we checkedReport an error
Good for you if
- Your site or app uses Tailwind and your assistant builds cards, dialogs, menus or pop-ups
- Cards on your pages look heavy, with a hard line and then a shadow around them
- You use Claude Code, or Cursor with its Bugbot code checker
Probably not for you if
- Your project does not use Tailwind: the classes come from a Tailwind add-on
- You want a full design system: this covers shadows and edges only
What its answer looks like
The skill's own wrong / right example
<!-- Wrong: border + shadow renders a double edge --> <div class="rounded-2xl border border-neutral-200 shadow-md">…</div> <!-- Right: one continuous edge --> <div class="rounded-2xl smooth-shadow-ring-md">…</div> <!-- Right: tuned ring + tinted shadow --> <div class="rounded-2xl smooth-shadow-ring-md smooth-ring-black/10 shadow-blue-500">…</div>
The skill's own example, from .claude/skills/smooth-shadow-ring/SKILL.md. More examples
What you'll notice
- Cards and pop-ups get one class like smooth-shadow-ring-md instead of a border plus a shadow
- Softer shadows made of several faint layers, in six sizes from xs to 2xl
- The thin edge turns light in dark mode, under a .dark class, data-theme="dark" or a declared colour scheme
- Shadow and edge colours can be set apart, for example a blue shadow with a faint black edge
What you need
- Claude Code, Cursor Bugbot, Tailwind CSS
- Free, MIT license
- Add the style package to your Tailwind project and copy one skill folder
- The style package is pure CSS for Tailwind; the skill is one text file
Words on this page
- Skill
- A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
- Plugin
- A package your assistant installs that can bring skills, commands and hooks together.
| Repository | flornkm/shadow-plugin · website |
|---|---|
| GitHub stars | 148 |
| Skills | 1 |
| Category | Design and frontend |
| License | MIT |
| Last updated | Sep 18, 2026 · card checked Nov 21, 2026 at commit da27869 |
| Install counts | flornkm/shadow-plugin on skills.sh, Vercel's skills directory, which shows installs and security audits per skill |
flornkm/shadow-plugin popularity over time
What Shadow Plugin does
- A border or ring next to a shadow on the same floating element draws two stacked edges; the skill tells the assistant to use one smooth-shadow-ring-{size} class instead
- Sizes: smooth-shadow-ring-xs, -sm, -md (or bare smooth-shadow-ring), -lg, -xl, -2xl
- Never keep a border or ring on an element that already has smooth-shadow-ring-*
- No edge wanted at all: plain smooth-shadow-{size}, not a border
- Colour the shadow with shadow-{color} and the edge with smooth-ring-{color}
- The edge width follows the project's Tailwind ring width; change --smooth-ring-width only when it must differ
- To win against a component library's own shadow, add the important modifier on that element (smooth-shadow-ring-md!) instead of a global override
From the pack's SKILL.md files, summarised by AgentGid.
The skill, explained
smooth-shadow-ring
Makes your assistant style floating cards and pop-ups with one smooth edge instead of a border plus a shadow
You give
- A Tailwind project with the shadow package installed
- The card, dialog or menu you want built or fixed
You get
- Classes like smooth-shadow-ring-md in place of border + shadow pairs
- Optional edge and shadow colours (smooth-ring-black/10, shadow-blue-500)
Its rules, in pictures
Default edge (ring) colour in light and dark mode
Drawn by AgentGid from the values in the skill's files. This is not output of the skill; sample text is ours.
See it in action
The skill defines what its answer looks like. Its own example:
<!-- Wrong: border + shadow renders a double edge --> <div class="rounded-2xl border border-neutral-200 shadow-md">…</div> <!-- Right: one continuous edge --> <div class="rounded-2xl smooth-shadow-ring-md">…</div> <!-- Right: tuned ring + tinted shadow --> <div class="rounded-2xl smooth-shadow-ring-md smooth-ring-black/10 shadow-blue-500">…</div>
When to reach for it
| You want | Use |
|---|---|
| Softer shadows across the whole site with no new class names | @import "shadow-plugin/unprefixed" |
| A card or dialog with a thin edge and a shadow | smooth-shadow-ring-md (or another size) |
| A floating surface with no edge line | smooth-shadow-md (or another size) |
| A stronger or coloured edge | smooth-ring-black/10 or smooth-ring-blue-500/40 |
| The shadow to win over a component library's own shadow | smooth-shadow-ring-md! on that element |
Skills in flornkm/shadow-plugin
| Skill | In plain words | Changes files? | What it does (author) |
|---|---|---|---|
| smooth-shadow-ring | Makes your assistant style floating cards and pop-ups with one smooth edge instead of a border plus a shadow | Yes | Use when styling any elevated surface (card, dialog, popover, dropdown, menu, tooltip, sheet, toast) in a Tailwind project that has shadow-plugin installed. Prevents the double-border artifact caused by pairing a border/ring with a shadow, by routing elevation through the smooth-shadow-ring-*…npx skills add flornkm/shadow-plugin --skill smooth-shadow-ring |
The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.
Good to know before you install
- The skill only helps once the shadow package is in your Tailwind project; it names its classes, which do nothing without it.
- It switches on by itself whenever the assistant styles a floating surface; you do not call it by name.
- The edge does not follow the visitor's system dark setting alone. If your dark mode uses only a media query, declare color-scheme: light dark on the page.
- Since version 2.0 the classes carry no !important, so a component library's own shadow can win; add the important modifier on that element.
- The skill file sits inside the repository's .claude/skills folder; there is no plugin manifest or install command for it, so you copy the folder by hand.
Before you start
Works in
- Claude Code: skills folder
- Cursor (Bugbot): rules file
- Agents that read AGENTS.md: AGENTS.md
You will need
- Tailwind CSS v4: The utilities use Tailwind v4 @theme and @utility rules
- shadow-plugin npm package: The skill's classes come from it
Mistakes to avoid
Add the skill without installing the shadow package
Install shadow-plugin and import it in the Tailwind CSS file first
The skill is written for projects that already have the package; its classes do nothing without itKeep a border or ring class on an element with smooth-shadow-ring-*
Remove the border or ring; the edge is already inside the shadow
A second edge brings back the double borderRemap Tailwind's shadows with @theme { --shadow-md: var(--smooth-shadow-md); }
Import shadow-plugin/unprefixed
With the var remap, shadow-md/40 and shadow-{color} silently stop workingRely on prefers-color-scheme alone for dark mode and expect the edge to turn light
Declare :root { color-scheme: light dark; } on the page
The edge colour reads the page's declared colour scheme, not the visitor's system settingHardcode a ring width to match the project
Leave it; it follows --default-ring-width. Set --smooth-ring-width only when it must differ
The skill says not to hardcode a width to match
Which one to pick
| If you need | Pick |
|---|---|
| Your project uses Tailwind and you only need softer shadows and one clean edge on cards and pop-ups | This pack |
| You want broad interface design rules (spacing, type, colour, shadows) from the Refactoring UI book | s0xDk/refactoring-ui-skill |
| You want design commands to polish, critique and audit a whole interface | pbakaus/impeccable |
Works well with
- tailwindcss: The package is a Tailwind plugin; the skill applies only in Tailwind projects
May I use it like this?
| Use | Answer | Condition |
|---|---|---|
| In a commercial app | Yes | MIT: keep the license notice |
| Shipped inside your app | Yes | MIT: keep the copyright and permission notice |
| Passing the files on | Yes | MIT: keep the copyright and permission notice in copies |
| Work for clients | Yes | MIT allows use in work for others |
Install Shadow Plugin
Official commands from the repository
npm i shadow-plugin @import "shadow-plugin";
The second line goes into the CSS file that imports Tailwind.
Remove: Remove the @import line and the package
@import "tailwindcss"; @import "shadow-plugin/unprefixed";
The native shadow-xs … shadow-2xl classes then render the smooth shadows; the ring classes keep their names.
Copy the folder .claude/skills/smooth-shadow-ring from the repository into your project's .claude/skills folder.
Remove: Delete the folder
Use the repository's BUGBOT.md as a Bugbot rule; it flags border plus shadow pairs on floating elements in code review.
The repository's AGENTS.md holds the same class rules in short form.
Or with the open-source skills CLI: npx skills add flornkm/shadow-plugin. Skills are instructions your agent follows: read them before installing.
What it installs and runs on your machine
Read in the code at commit da27869, Nov 21, 2026
| When | What happens |
|---|---|
| Install | The skill is one markdown file. The npm package ships only built CSS (the dist folder); it has no install scripts. |
| Your site build | Tailwind reads the CSS utilities. Nothing runs in the browser beyond CSS. |
| Not part of the package | A demo site (demo/) and a release workflow live in the repository; they are not shipped in the npm package. |
Settings
--smooth-ring-color: Edge colour at any scope (default rgba(0,0,0,0.05), dark rgba(255,255,255,0.18))--smooth-ring-width: Edge width at any scope (default follows --default-ring-width, else 1px)
Quick answers
- Is it free?
- Yes. MIT license.
- Does it work without Tailwind?
- No. The classes are Tailwind utilities; the skill is for projects that have the package installed.
- Does anything run on my machine or go online?
- No. The package is CSS and the skill is a text file.
- Will the edge show in dark mode?
- Yes, under a .dark class, data-theme="dark", or when the page declares color-scheme: light dark.
- Can I keep Tailwind's own shadow class names?
- Yes. Import shadow-plugin/unprefixed and shadow-md and the rest render the smooth shadows.
Checked by AgentGid on Nov 21, 2026 against commit da27869 of the pack's own files. agent.md for AI agents · Report a mistake
More design and frontend skill packs
| # | Install | |||||
|---|---|---|---|---|---|---|
| 1 |
Gets a local design library: UI styles, colour palettes, font pairings and UX rules for many product types. Before it builds a page, it looks up a matching style, colours and fonts and follows a checklist. Extra skills make logos, banners, slides and brand files; logos, mockups and icons need your own key for an outside image service. |
153K | +13.9K | 7 | ||
| 2 |
Stops building the average landing page. It picks one of 20 researched design directions, finds real, credited pictures in open archives, then checks the page in a real browser and fixes what looks wrong. Dashboards and app screens get their own set of rules. |
120K | +18.7K | 1 | ||
| 3 |
Turns a description, a Mermaid sketch or your project's code into an interactive diagram saved as one HTML file. It can also answer a question as a one-page explainer, with the conclusion first. The pack's own tools check every file before handing it to you. |
98.7K | +12.7K | 5 | ||
| 4 |
Draws clean, editorial diagrams in your brand colours and fonts. You describe the diagram in plain words and get one HTML file you open with a double click. It can also redraw old draw.io, Mermaid or Excalidraw diagrams and export them as SVG or PNG. |
70K | +11.4K | 1 | ||
| 5 |
Builds web pages that look designed, not machine-made. It asks once for your real material and picks one of fifty visual themes. Then it builds the page and checks it against common AI design habits. Name it and it will also redesign or review a page you already have. |
59.2K | +25.2K | 1 | ||
| 6 |
alchaincyf/huashu-design
Checked
One large design playbook for your AI assistant, written in Chinese. It makes clickable app prototypes, web pages, slide decks, infographics and short animated videos as HTML, then exports them to PDF, PowerPoint, MP4 or GIF. Before any new design it shows you three real drafts to choose from and stops until you pick one. |
30.3K | +4,613 | 1 |
No pack matches.