Skip to content
← Typography Tools

Text Shadow Designer

Layer multiple text-shadow values to build neon, embossed, glitch, retro, and long-shadow effects with live CSS output.

Related Tools

Related Tool
Typography Scale
Related Tool
Drop Cap Generator
Related Tool
CSS Tools
Related Tool
Variable Font Playground

Multi-layer text-shadow

The CSS text-shadow property accepts a comma-separated list of shadows applied in order, with the first listed shadow on top. Stacking multiple shadows lets you compose effects that no single shadow could achieve: a neon glow is built from three or four overlapping blurred shadows in the same hue. An embossed effect is a tight bright shadow on one side and a tight dark shadow on the opposite side. A retro pop is a series of solid offset shadows in alternating colors.

Each shadow has four values: x offset, y offset, blur radius, and color. The CSS the Designer outputs lists all four for every layer of the chosen preset. The order matters: a tiny bright shadow at the top of the stack reads as a highlight; the same shadow at the bottom is hidden by the layers above it.

Performance considerations

text-shadow is rendered every paint, so heavy stacks (six or more layers, large blur radii) can affect scroll performance on lower-end devices. Static headings are painted once; for animated text (hover transitions, keyframe animations on the shadow), keep the layer count low.

Color contrast is the other consideration. Heavy shadows can reduce the effective contrast of the underlying text and push it below WCAG AA. The Designer shows the WCAG contrast ratio of your text and background colours as you edit; the shadow is not part of that number, so judge legibility by eye as well.

Common Use Cases

Marketing pages with a retro or 80s-inspired brand use the Designer to build the signature long-shadow letters for hero text. Gaming and esports sites use it for neon glow effects on team names and event logos. Editorial sites use the embossed preset to give pull-quote text a hint of dimension without distracting from the content.

Designers documenting a system in Figma can start from a preset's CSS when turning a shadow effect into a CSS token. CSS text-shadow has no spread value in browsers, so a design-tool shadow that uses spread will not match exactly; compare the rendered result before committing the token.

What the Designer does, and a measured look at its presets

Start from one of seven presets (neon, embossed, retro, glitch, longShadow, outline, soft) or from a value you paste into Import, then edit every layer: X and Y offset, blur, colour and opacity, on/off, move up or down, duplicate, delete, or add a new one. The first layer in the list paints on top, as in CSS. The preview uses the same value you copy, the contrast line measures your text colour against your background with the WCAG formula, and the notes under the CSS give the shadow's reach past the letters, the number of layers and blurs, and Firefox's 300 px blur cap when a blur goes past it. Shadows do not take up layout space, so a glow can spill out of its box and be cut off by a parent with overflow: hidden or run into the next element. On October 12, 2026 we rendered each preset in Chromium (72 px, weight 900) and measured how far the visible shadow reaches past the text element's box:

Shadows do not take up layout space, so a glow can spill out of its box and be cut off by a parent with overflow: hidden or run into the next element. On October 12, 2026 we rendered each preset in Chromium (72 px, weight 900) and measured how far the visible shadow reaches past the text element's box:

PresetLayersShadowsVisible shadow beyond the box
neon40 offset, blur 5/10/20/40 px28 px on every side
embossed2±1 px, no blurnone (inside the box)
retro32/4/6 px diagonal, no blur2 px right
glitch2±2 px horizontalnone
longShadow301…30 px diagonal, no blur26 px right, 19 px below

Frequently Asked Questions

How many text-shadow layers can I stack?
CSS sets no limit; the longShadow preset uses 30. Each layer is drawn on every repaint, so long stacks and large blurs cost more when the text animates or scrolls under fixed elements. For static headings that rarely matters; for animated text, keep the count low. Firefox caps a single blur radius at 300 px.
What is the order of layers?
The first shadow in the comma-separated list paints on top and the last at the bottom, the same rule as box-shadow. The Designer lists layers in that order: layer 1 is on top, and the arrows on each layer move it up or down the stack.
Can I animate text-shadow?
Yes. text-shadow interpolates as a shadow list: each layer's offsets, blur and colour animate separately, and if one list is shorter it is padded with transparent zero-size shadows, so 1 layer to 3 layers still animates. The Designer writes one value at a time; build the start state, copy it, edit the layers into the end state and copy again for your transition or keyframes.
Do text shadows affect accessibility?
They can. WCAG contrast is measured between the text colour and the background, and the Designer shows that ratio as you edit (AA needs 4.5:1, or 3:1 for text at 24 px or 18.66 px bold). The shadow is not part of the measurement, so a glow cannot make a failing pair pass, and a busy or glowing shadow can make letters harder to read even when the pair passes; keep body-size text free of heavy glows.
What is the difference between text-shadow and filter: drop-shadow?
text-shadow is drawn per glyph (and also under text decorations such as underlines), and accepts a list of shadows. filter: drop-shadow() shadows the element's whole rendered result, following its alpha, so it also shadows borders, backgrounds and images inside the element; you need one drop-shadow() function per shadow.
How do I make a neon glow?
Stack three or four zero-offset shadows in the same hue with growing blur, for example 5px, 10px, 20px and 40px, and use white or a pale tint for the text itself. The Designer's neon preset is exactly that (purple, with a pink outer layer); change each layer's colour picker to move it to another hue.
Why does my long shadow look stairstepped?
A single shadow with a big offset leaves a gap between the text and the shadow. A solid long shadow needs many shadows at 1 px steps (1px 1px, 2px 2px, … 30px 30px), which is what the longShadow preset contains. Each step is a layer in the editor, so you can recolour or delete steps; for a different length it is quicker to paste a generated list into Import.
Can I apply different shadows to different letters?
Not with text-shadow alone, because text-shadow applies to the entire selector uniformly. To shadow individual letters differently, wrap each letter in a span and target the span. SVG text is the other option for fully per-glyph effects. For typical use cases like making the first letter of a logo stand out, the per-span approach is the standard solution.