Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Text Cloning

Text Cloning

A layered canvas text animation that stacks outline copies of a short word behind it and shifts them with the pointer to create depth, motion, and experimental headline energy.

canvas
DemoDemoDemo

Tune the Real Props

Text Color

Clone and center text color.

Overview

Text Cloning gives important words pointer-driven depth: duplicated outline text shifts as the cursor or finger moves.

Use it for wordmarks, brand names, and one or two word display moments in a full-screen hero. Do not use it on long body copy, error messages, legal text, or instructions where legibility is non-negotiable.

The main risk is losing the text to the animation. The phrase is drawn on a canvas, not as DOM text, so add it once as real HTML or an aria-label, and know that reduced-motion users still see up to three layers that follow the pointer without easing.


Usage Code

page
1import TextCloning from "@/components/effects/text-cloning";2 3const page = () => {4  return (5    <>6     <TextCloning />7    </>8  );9};10 11export default page;

Example Production Use Case

A record label can use Text Cloning for an artist's name on a release page. Layered copies of the name stack back into depth behind the main word and shift as the visitor moves the pointer or touches the screen, turning a simple wordmark into a moving piece of artwork.

The outcome is energy. The canvas is decorative, so pair it with a real HTML heading carrying the same name, and keep track listings, tour dates, and ticket links in normal text.


Best Used For

  • Wordmarks, brand names, and short claims where duplicated layers can create motion depth.
  • Brand moments where you also render the phrase as hidden HTML text, since the canvas itself exposes nothing to assistive technology.
  • Text Cloning gives a short phrase pointer-driven depth, so pair it with a real HTML heading to keep the words readable and indexable.

Not For

Not for body copy, labels, error messages, legal copy, or any text users need to read immediately.


Performance Budget

Animate only the phrase that matters, reserve layout space, and avoid expensive filters over large text blocks.


Accessibility and Mobile

Expose the complete phrase once for assistive technology. The canvas has no label and no DOM text, so add an aria-label or a visually hidden heading; on touch screens the layers follow the finger.


Common Mistakes

  • Using Text Cloning on long body copy.
  • Shipping the canvas alone without a real HTML copy of the phrase.
  • Using a long phrase, since the text shrinks to fit the viewport width on one line.

Changelog

Added reduced-motion support and reworked the props API (cloneCount, offset, colors, textSize) while keeping live text editing on the demo page.
Initial release

API Reference

PropTypeDefaultDescription
cloneCountnumber9Number of text clone layers rendered.
offsetnumber220Maximum pointer parallax distance between clone layers.
textColorstring#f5f5f5Clone and center text color.
textSizenumber1Text size multiplier.

Questions, Answered.

When should I use Text Cloning?

Use it when a display heading needs duplicated text creating motion depth.

How do I keep Text Cloning accessible?

The phrase is drawn on a canvas, so add it once as real HTML text or as an aria-label on the canvas. The clones are pixels and are never announced.

Does Text Cloning affect SEO?

Yes, the text is drawn inside a canvas, so search engines do not see it. Render the same phrase as real HTML, such as a visually hidden h1.

How do I avoid layout shift with Text Cloning?

The canvas is fixed to the full viewport, so it does not shift layout. The text sits on one line and scales to fit the screen width.

What should reduced motion do for Text Cloning?

Under prefers-reduced-motion it drops to three layers and follows the pointer without easing, so nothing drifts. The layers still shift when the pointer moves.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Blur Text
Pro
Motion

Blur Text

Text

Circle Text Reveal
Pro
Motion

Circle Text Reveal

Text

Glitchy Text
Pro
GSAP

Glitchy Text

Text

Mask Text Reveal
Pro
GSAP

Mask Text Reveal

Text