Tailwind Shadow Generator
Stack checked inset or outer shadows and export arbitrary classes plus v4 theme tokens.
Enabling local controls…
Tailwind v4 workbench
Preview uses native CSS, not a Tailwind runtime. Every change updates the result locally. Text and settings stay in page memory.
One layer per line. Up to 8; positions ±100, blur 0–200, opacity 0–1.
Limits: 16,000 UTF-8 bytes per text area, 1,000 classes, 24 layout items, 8 cards/shadow layers, 20 × 12 table cells. No input HTML, scripts, URLs or commands execute.
Converters use common documented rules. Arbitrary values and modifier characters are preserved, but unknown tokens are marked unsupported. Real cascade, custom themes and plugins require a Tailwind build.
References checked: · Theme · Responsive design · v4 upgrade guide · Colors
Preview & output
Result updated locally. Review before using in your project.
Classes
Preview: first 32,000 characters. Copy, download and expanded text retain all content. Select complete text if copying fails.
shadow-card shadow-[0px_8px_24px_-4px_rgb(15_23_42_/_0.18),_0px_2px_6px_0px_rgb(15_23_42_/_0.1)]
Expand complete selectable text
shadow-card shadow-[0px_8px_24px_-4px_rgb(15_23_42_/_0.18),_0px_2px_6px_0px_rgb(15_23_42_/_0.1)]
HTML
Preview: first 32,000 characters. Copy, download and expanded text retain all content. Select complete text if copying fails.
<div>Shadow preview</div>
Expand complete selectable text
<div>Shadow preview</div>
CSS
Preview: first 32,000 characters. Copy, download and expanded text retain all content. Select complete text if copying fails.
.card { box-shadow: 0px 8px 24px -4px rgb(15 23 42 / 0.18), 0px 2px 6px 0px rgb(15 23 42 / 0.1); }Expand complete selectable text
.card { box-shadow: 0px 8px 24px -4px rgb(15 23 42 / 0.18), 0px 2px 6px 0px rgb(15 23 42 / 0.1); }@theme
Preview: first 32,000 characters. Copy, download and expanded text retain all content. Select complete text if copying fails.
@import "tailwindcss";
@theme {
--shadow-card: 0px 8px 24px -4px rgb(15 23 42 / 0.18), 0px 2px 6px 0px rgb(15 23 42 / 0.1);
}Expand complete selectable text
@import "tailwindcss";
@theme {
--shadow-card: 0px 8px 24px -4px rgb(15 23 42 / 0.18), 0px 2px 6px 0px rgb(15 23 42 / 0.1);
}How to use this tool
Edit the labelled controls to update a native CSS preview and copy or download Tailwind v4 output. Examples and reset stay in page memory.
When not to use it
No Tailwind runtime or full compiler. Converters support a documented common subset and list unknown utilities. Class conflicts and dark colors are suggestions requiring review in your built project. Input 16,000 UTF-8 bytes, 1,000 classes; no scripts or input HTML execute.