Layered wordmark
Also called stacked wordmark, echo text, or stacked text
A large brand name repeated in stacked, offset copies that fan apart as you scroll, usually as the closing flourish at the bottom of a footer.
import { useRef } from 'react';
import {
motion,
useReducedMotion,
useScroll,
useTransform,
type MotionValue
} from 'motion/react';
// Back to front. Each copy sits 0.4em below the one behind it.
const LAYERS = [
{ color: 'text-neutral-100', depth: 2 },
{ color: 'text-neutral-300', depth: 1 },
{ color: 'text-neutral-400', depth: 0 }
];
export function FooterWordmark({ name = 'Acme' }: { name?: string }) {
const ref = useRef<HTMLDivElement>(null);
// 0 when the wordmark's top enters the viewport, 1 when its bottom does.
const { scrollYProgress } = useScroll({
target: ref,
offset: ['start end', 'end end']
});
return (
<div
ref={ref}
aria-hidden='true'
className='relative h-[1.5em] overflow-clip text-[22vw] leading-none font-bold tracking-tighter'
>
{LAYERS.map((layer) => (
<Layer
key={layer.depth}
name={name}
progress={scrollYProgress}
{...layer}
/>
))}
</div>
);
}
function Layer({
name,
progress,
color,
depth
}: {
name: string;
progress: MotionValue<number>;
color: string;
depth: number;
}) {
const reduceMotion = useReducedMotion();
// Starts stacked on the front copy and rises to its own row.
const y = useTransform(progress, [0, 1], [depth * 0.4 + 'em', '0em']);
return (
<motion.span
style={{
top: (2 - depth) * 0.4 + 'em',
// Show only the slice above the next copy.
clipPath: depth > 0 ? 'inset(0 0 45% 0)' : undefined,
y: reduceMotion ? 0 : y
}}
className={'absolute left-0 ' + color}
>
{name}
</motion.span>
);
}Add a layered wordmark to the bottom of the footer: three full-width copies of the brand name, each 40% of its height below the last. Clip each back copy so only the slice above the next copy shows, color them from light gray at the back to mid gray at the front, and let the footer’s bottom edge crop the front copy. As the footer scrolls into view, the copies start stacked and fan out to their offsets, and they close again when scrolling back up. Use CSS view-timeline and animation-timeline inside @supports with the fanned-out layout as the fallback, hide the copies from screen readers, and skip the motion when prefers-reduced-motion is set.
Paste into Layerwise or any AI coding tool.
What is Layered wordmark?
A layered wordmark stacks several copies of a logo or name, each a little lower than the last. Every copy shows only a thin slice before the next one covers it, so the stack reads like a deck of cards seen from the edge. Shades step from light at the back to strongest at the front, and the page’s bottom edge often crops the front copy.
It is usually tied to scroll. The copies start stacked on top of each other, spread out as the footer comes into view, and close again on the way back up. CSS can drive it without JavaScript: give the stack a view-timeline, animate each copy’s translateY with animation-timeline, and clip each back copy with clip-path: inset() so it hides behind the one in front.
Quiet grays keep it calm enough to sit under the footer links. Mark the copies aria-hidden so screen readers hear the name once, and show the fanned-out layout when the browser lacks scroll-driven animations or the reader prefers reduced motion.
Often confused with
- Parallax scrolling
- Parallax moves separate layers at different speeds for depth. A layered wordmark repeats one word and spreads its copies apart as the scroll progresses.
Layerwise guides
- AI website builder
- Describe a site and Layerwise builds it, then publishes it with a database, storage, email, and analytics built in.
- Prompting for a useful first version
- Give Layerwise enough product context to produce a testable first project.
- Build and preview a project
- Make changes through the project conversation, point to parts of the page, and verify the result in the local preview.
Related terms
All termsScroll-driven animation
An animation whose progress is tied directly to the scroll position, so it moves forward as you scroll down and rewinds as you scroll up.
Parallax scrolling
A scroll effect where background layers move slower than the foreground, which creates a sense of depth as the page scrolls.
Scroll text reveal
A paragraph whose words brighten from faint to full one by one as you scroll through it, tied to the scroll position so it rewinds on the way up.
Reduced motion
An operating system setting that asks apps to minimize movement, which websites detect with the prefers-reduced-motion media query.