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/Chromatic Text

Chromatic Text

A chromatic headline effect for portfolios, campaign pages, AI products, cyber brands, and experimental landing pages where the type should briefly distort without losing the message.

GSAP
DemoDemoDemo

Tune the Real Props

Base Text Color

Color of the front/base text layer.

First Text Color

Color of the red chromatic depth layer.

Second Text Color

Color of the blue chromatic depth layer.

Background Color

Background color for the scroll section.

Overview

Chromatic Text turns a headline into an optical signal.

The effect stacks two coloured copies (amber and orange by default) behind a white headline inside a 150vh section with a sticky viewport. As you scroll, each layer is pushed vertically by an amount tied to scroll speed and direction, with the back layers travelling further and slightly offset sideways, so the type smears into a chromatic, aberration-like trail. About 0.2 seconds after scrolling stops, the layers ease back into one crisp headline. There is no blur. The headline text is fixed in the component (“Scroll to See Chromatic Effect”), so change it in the source; colours, font size, weight and background are props.

Use Chromatic Text when the headline should feel technical, optical, or slightly charged. It works for AI pages, developer tools, cyber interfaces, music and culture campaigns, creative portfolios, and launch sections where the type can carry a controlled distortion.

The page job is attention with restraint. The visitor should notice the chromatic shift, understand the headline, and keep moving. If the effect makes the words harder to read than the message deserves, the animation has become the main character.


Usage Code

page
1import ChromaticText from "@/components/effects/chromatic-text";2 3const page = () => {4  return (5    <main>6      <ChromaticText7        baseTextColor="#ffffff"8        firstTextColor="#FFB200"9        secondTextColor="#EB5B00"10        fontSize={10}11        fontWeight={500}12        backgroundColor="#111111"13      />14    </main>15  );16};17 18export default page;

Example Production Use Case

A cyber or AI product page can place Chromatic Text just below the hero to give a claim a controlled signal-distortion effect. As visitors scroll past, the headline stretches into coloured trails in proportion to their scroll speed, then snaps back into readable copy when they pause.

The outcome is tension. The page feels technical and alive without sacrificing the clarity of the claim.


Best Used For

  • AI, cyber, developer-tool, and experimental brand pages where colour-split motion fits the visual language.
  • Portfolio and campaign headlines where type can carry a short optical distortion.
  • Dark hero sections where white typography and chromatic edges can create contrast.
  • Short headline moments that resolve quickly into readable text.

Not For

Not for body copy, legal text, product instructions, forms, dashboards, documentation, pricing copy, or long paragraphs.

Not for accessibility-critical wording or anything the user must read instantly. Distortion is an accent, not a reading strategy.


Performance Budget

Limit the effect to one or two sections per page, since each one adds a 150vh scroll section with its own ScrollTrigger. Offsets are capped and only transforms are animated, and the GSAP context is reverted on unmount. Keep layer colours close enough to the base that the trails feel sharp rather than smeared.


Accessibility and Mobile

The headline is exposed once: the two decorative colour layers are aria-hidden. The base layer is a paragraph, so wrap or adapt it if the page needs it as a real heading. At 1024px wide and below the layers travel less. With reduced motion, only the static white headline is rendered, with no colour layers or movement.


Common Mistakes

  • Applying chromatic distortion to long copy.
  • Choosing layer colours that clash so the trails make the headline unreadable.
  • Duplicating text layers without hiding decorative copies from assistive technology.
  • Stacking several scroll-linked sections on one page.
  • Using chromatic motion on a brand that needs calm clarity more than signal noise.

Changelog

Initial release

API Reference

PropTypeDefaultDescription
baseTextColorstring#ffffffColor of the front/base text layer.
firstTextColorstring#FFB200Color of the red chromatic depth layer.
secondTextColorstring#EB5B00Color of the blue chromatic depth layer.
fontSizenumber10Font size in vw units shared by every text layer.
fontWeightnumber500Font weight shared by every text layer.
backgroundColorstring#111111Background color for the scroll section.

Questions, Answered.

What is Chromatic Text?

Chromatic Text is a React scroll effect that stacks two coloured copies behind a large headline and pulls them apart vertically in proportion to scroll speed, creating a chromatic-aberration style trail that settles back when scrolling stops.

When should I use Chromatic Text?

Use it for short hero headlines, campaign statements, and technical brand moments where optical distortion supports the visual identity.

Is Chromatic Text good for body copy?

No. Use it on large, short text only. Body copy should remain stable, readable, and boring in the best possible way.

How do I keep Chromatic Text accessible?

The component already marks both decorative colour layers aria-hidden, so the text is read once. Keep the headline short, check contrast between the base colour and background, and remember reduced motion shows only the static base text.

Does Chromatic Text affect SEO?

The text renders as real HTML, so it can be indexed. Note that it is a paragraph rather than a heading and the wording is fixed in the component, so edit it in the source and use a proper heading elsewhere if the section needs one.

What happens with reduced motion?

When prefers-reduced-motion is on, the colour layers aren’t rendered and no ScrollTrigger is created, so the white headline sits still and readable in its section.

View MoreView More

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Mask Text Reveal
Pro
GSAP

Mask Text Reveal

Text

Glitchy Text
Pro
GSAP

Glitchy Text

Text

Drop Text
GSAP

Drop Text

Text

Text Stream
Pro
GSAP

Text Stream

Text