Skip to content
Gelatin UIAlpha

Text Layered Depth Title

Pro

As the page scrolls, an outline copy and a soft fill copy slide out from behind the title, then join it again.

  • 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 Layered Depth Title 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
19
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. Size the text on the heading.

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

launch-hero.tsx

TextLayeredDepthTitle

<div>
PropTypeDefaultDescription
childrenRequiredstring—The title text. Short: one line or two.
spreadnumber—How far the copies part from the face at the edges of the pass, in px. Default 48. At the middle of the view every copy sits under the face.
containerRefObject<HTMLElement | null>—The scroll box, when the title scrolls inside one and not with the page.
disabledboolean—Keeps every copy under the face and stops the scroll work.
...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 or h2. Size the text on the heading.
  • Use spread (in px, default 48) to set how far the copies part at the edges of the pass. At the middle of the view the title is whole.
  • Use container when the title scrolls inside a box and not with the page, and disabled to keep every copy under the face.
  • For the same effect with another look, use Text Outline Depth Title.
  • For a heading whose words slide together into one line, use Text Split Headline.
  • For images and layers that move at their own speed as the page scrolls, use Parallax.
  • For body text or a long paragraph that people must read, use plain text.
Scroll depth
none · the copies part above and below the face as the page scrolls, in the same frame as the scroll, with no easing; whole at the middle of the view
  1. AddedText Layered Depth Title.
Open the release