Victor Welander

Gooey Text Morphing

Text 3.7K

About

A fluid text morphing component that creates smooth, gooey transitions between words. This component is designed to work seamlessly with shadcn/ui themes, providing an engaging visual effect for hero sections, loading states, or interactive text displays. Features - Smooth morphing transitions between text phrases - Customizable animation timing - Gooey effect using SVG filters - Automatic theme adaptation with shadcn/ui - Responsive text sizing - Fully customizable styling - TypeScript support Props - `texts` - Array of strings to cycle through - `morphTime` - Duration of morphing animation in seconds (default: 1) - `cooldownTime` - Pause duration between morphs in seconds (default: 0.25) - `className` - Additional classes for container - `textClassName` - Additional classes for text elements (overrides theme text color if specified)

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

Code

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

Usage.tsx

import * as React from "react";
import { GooeyText } from "@/components/ui/gooey-text-morphing";

function GooeyTextDemo() {
  return (
    <div className="h-[200px] flex items-center justify-center">
      <GooeyText
        texts={["Design", "Engineering", "Is", "Awesome"]}
        morphTime={1}
        cooldownTime={0.25}
        className="font-bold"
      />
    </div>
  );
}

export { GooeyTextDemo };

More by Victor Welander

View all
  • Expandable Tabs

    Expandable Tabs

    3.3K
  • Upgrade Banner

    Upgrade Banner

    654
  • Nested Dialog

    Nested Dialog

    588

More in Text

View all
  • Motion Blur Text

    Motion Blur Text

    36
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • NeonRGBTextEffect

    NeonRGBTextEffect

    144
  • Text Reveal

    Text Reveal

    27
  • Random Letter Swap

    Random Letter Swap

    46
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Text Color

    Text Color

    545
  • Blur Reveal

    Blur Reveal

    300