nikolas-sapa

Text Prism Split

Text 51

About

An interactive headline effect where a frosted glass strip follows the cursor and splits the text beneath it into red/green/blue channel slices that tear apart with drag velocity and spring back into place.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text Prism Split to your project and fits it to your theme.

Code

How Text Prism Split is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { PrismDragSplit } from "@/components/ui/text-prism-split";

export default function PrismDragSplitDemo() {
  return (
    <div className="flex h-screen w-full items-center justify-center bg-background">
      <PrismDragSplit text="REFRACTION" className="text-5xl" />
    </div>
  );
}

More by nikolas-sapa

View all
  • Countdown Vapor Digits

    Countdown Vapor Digits

    217
  • Dye Whorl

    Dye Whorl

    186
  • Background ASCII Wake

    Background ASCII Wake

    116
  • Hero Burin Hatch

    Hero Burin Hatch

    87
  • Hero Text Ring Funnel

    Hero Text Ring Funnel

    74
  • Hero ASCII Schlieren

    Hero ASCII Schlieren

    74
  • Hero ASCII Reaction Front

    Hero ASCII Reaction Front

    69
  • Toast Gravity Stack

    Toast Gravity Stack

    64

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    14
  • Scroll Fill Headline

    Scroll Fill Headline

    66
  • Blur Reveal

    Blur Reveal

    398
  • Apple Hello Effect

    Apple Hello Effect

    691
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Italic Sweep Scroll Text

    Italic Sweep Scroll Text

    73
  • Shimmering Text

    Shimmering Text

    8