Make your AI a shadcn expert

Emboss Text

Subtle 3D embossed or debossed typography that appears physically pressed into the surface, with depth, tone, and automatic light-and-dark-mode polarity for React, Next.js, motion, and Tailwind CSS.

Emboss Text preview

Scroll to load preview

Type that lives on the surface instead of on top of it. The effect is built from a pair of opposing text-shadows — a soft highlight from above and a deeper shadow from below — and the glyph fill is set to match the parent surface color, so the letters appear carved out of the page rather than placed on it. Switch between embossed (raised) and debossed (pressed in) by flipping the shadow polarity, scale the relief with the depth multiplier, and tint the highlight + shadow toward warm, cool, or neutral. Critically, the polarity automatically inverts in dark mode via Tailwind's dark: variants, so the effect reads as "light from above" on both light and dark surfaces without any prop changes. Drop it on premium label copy, section eyebrows, dial markers, or anywhere you want typography to feel pressed into a real material.

Install with AI

If you've connected the shadcn.io MCP server to Claude Code, Cursor, Windsurf, or any MCP-ready AI editor, prompt your agent to install this text effect for you — no copy-paste, no CLI:

use shadcnio to install the emboss-text text effect into my project

FAQ

Was this page helpful?

Sign in to leave feedback.