YoucefBnm Bnm

Wavy Text Block

Text 346

About

Wavy Block animates its children in waves pattern on scroll.

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

Code

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

Usage.tsx

import { WavyBlock, WavyBlockItem } from "@/components/ui/wavy-text-block";
const titles = [
  'Flexible',
  'Animated',
  'Customizable',
  'Optimized',
  'Lightweight',
  'Responsive',
  'UI Blocks',
];

export default function DemoOne() {
  return (
     <main className="h-[300vh] pt-60 overflow-hidden">
       <div className="max-w-6xl">
      <WavyBlock className="flex flex-col justify-start items-start gap-6">
        {titles.map((title, index) => (
          <WavyBlockItem key={title} index={index}>
            <h2 className=" text-[9.3vw] font-bold leading-none tracking-tighter uppercase whitespace-nowrap">
              {title}
            </h2>
          </WavyBlockItem>
        ))}
      </WavyBlock>
    </div>
     </main>
  )
}

Dependencies

More by YoucefBnm Bnm

View all
  • Animated Slideshow

    Animated Slideshow

    2.3K
  • Hero Gallery Scroll Animation

    Hero Gallery Scroll Animation

    1.6K
  • Animated Gallery

    Animated Gallery

    1.5K
  • Animated Video on Scroll

    Animated Video on Scroll

    1.5K
  • Animated Cards Stack

    Animated Cards Stack

    1.3K
  • Cards Stack

    Cards Stack

    1.1K
  • cta section with gallery

    cta section with gallery

    725
  • Hero Video

    Hero Video

    545

More in Text

View all
  • NeonRGBTextEffect

    NeonRGBTextEffect

    153
  • Motion Blur Text

    Motion Blur Text

    44
  • Rainbow Text Effect

    Rainbow Text Effect

    57
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    131
  • Text Reveal

    Text Reveal

    29
  • Toolbar

    Toolbar

    54
  • Bottom Up Letters

    Bottom Up Letters

    55
  • Apple Hello Effect

    Apple Hello Effect

    657