Skip to content

Text Solid Depth

Pro

A 3D title with solid, shaded sides from the face color to the back. It turns to face the pointer.

  • React 19
  • Tailwind CSS 4

Added Nov 15, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Text Solid Depth needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
22
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Wrap the title of a hero. Pick the variant and the pointer area.

The sample also uses Badge and Button. One command adds them with this item:

launch-hero.tsx

TextSolidDepth

<div>
PropTypeDefaultDescription
pausedboolean—The pause of the user or the page (controlled).
defaultPausedboolean—The first pause when paused is not given (uncontrolled). Default false.
onPausedChange—Called when the pause changes.
pauseOnHoverboolean—Hold the motion while a mouse is over the item, or keyboard focus is on the link or button around it (or in it). Default true.
childrenRequiredstring—The text. Short: a word or a title line.
layersnumber—How many copies of the text make the depth, from 2 to 24. More is smoother and costs more. Default 16, or 6 with outline: 16 outlines 0.06em apart fill in as one solid side, so the lines of the wire frame only show with fewer copies.
depthnumber—The depth from the face to the last layer, in em of the text. Default 1.
maxAnglenumber—The largest turn in degrees. The rest angle and the orbit are parts of it. Default 16.
perspectivenumber—The 3D view distance in px. Smaller is stronger. Default 800.
pointer"element""none""page"—What the mouse does: element (default) turns the text while the mouse is on it, page turns it toward the mouse anywhere on the page, none keeps it at rest.
orbitboolean—A slow idle turn around the rest angle that never ends. Default false: a quiet start, the text rests until the page asks for motion. paused, defaultPaused, onPausedChange, and pauseOnHover are the pause pattern of; they stop only the orbit, and the pointer still turns the text. pauseOnHover defaults to true with pointer element (the mouse leads) and false otherwise.
orbitDurationnumber—Seconds for one orbit. Default 12.
introboolean—The depth grows out of the face when the intro starts. Default false: the text has its full depth from the first paint. An intro starts flat, so the text first looks plain.
trigger"mount""view"—When the intro starts: view (default) the first time the text is on screen, mount at once.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Wrap the text of a heading. Every element is a span, so it is valid in an h1.
  • Use pointer="page" to turn it toward the mouse anywhere on the page, element (default) only while the mouse is on it, or none to keep it at rest.
  • Use orbit for a slow idle turn that never ends. paused, defaultPaused, and pauseOnHover hold it.
  • Use intro to grow the depth out of the face the first time the text is on screen.
  • Use depth (in em, default 1), layers (2 to 24), maxAngle (default 16), and perspective (default 800px) to tune the look.
  • For the same effect with another look, use Text Fade Depth.
  • For lines of a text at different depths on a plane that turns, use Text Perspective.
  • For a card or an image that turns toward the mouse, use Tilt.
  • For a long title that people must read, or body text, use plain text.
TabWhile keyboard focus is on the link or button around the text, the text leans to the side, as the mouse would turn it.
Turn
hover · 150ms · the text turns toward the mouse, up to `maxAngle` degrees
Orbit
progress · `orbitDuration` (default 12s) · a slow loop around the rest angle, linear, with no end
Lean
panel · 260ms · keyboard focus around the text leans it to the side
Intro
draw · 900ms · the depth grows out of the face
  1. AddedText Solid Depth.
Open the release