Rama annaswamy

Displacement Text

Text

About

3D text with WebGL displacement that follows the cursor using Three.js shaders.

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

Code

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

Usage.tsx

import { DisplacementText } from "@/components/ui/fancy-displacement-text"

export default function DisplacementTextDemo() {
	return <DisplacementText text="Hover Me" />;
}

Dependencies

More by Rama annaswamy

View all
  • Fluid Cursor

    Fluid Cursor

  • Flickering Grid

    Flickering Grid

  • Matrix Rain

    Matrix Rain

  • Card Spotlight

    Card Spotlight

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    16
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Blur Reveal

    Blur Reveal

    401
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Text Reveal

    Text Reveal

    411
  • Per Word Crossfade

    Per Word Crossfade

    20
  • Italic Sweep Scroll Text

    Italic Sweep Scroll Text

    77
  • Apple Hello Effect

    Apple Hello Effect

    692