deleted

Falling Interactive Text

Text 45

About

Falling Interactive Text

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

Code

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

Usage.tsx

import React from 'react';
import { FallingText } from "@/components/ui/falling-interactive-text"

function OnHover() {
  return (
  <div className="h-screen w-screen flex items-center justify-center">
      <div className="w-full max-w-4xl h-96">
        <FallingText
          text={`React Bits is a library of animated and interactive React components designed to streamline UI development and simplify your workflow.`}
          highlightWords={["React", "Bits", "animated", "components", "simplify"]}
          highlightClass="highlighted"
          trigger="hover"
          backgroundColor="transparent"
          wireframes={false}
          gravity={0.56}
          fontSize="2rem"
          mouseConstraintStiffness={0.9}
        />
      </div>
    </div>
  );
}


function OnClick() {
  return (
  <div className="h-screen w-screen flex items-center justify-center">
      <div className="w-full max-w-4xl h-96">
        <FallingText
          text={`React Bits is a library of animated and interactive React components designed to streamline UI development and simplify your workflow.`}
          highlightWords={["React", "Bits", "animated", "components", "simplify"]}
          highlightClass="highlighted"
          trigger="click"
          backgroundColor="transparent"
          wireframes={false}
          gravity={0.56}
          fontSize="2rem"
          mouseConstraintStiffness={0.9}
        />
      </div>
    </div>
  );
}

export { OnClick, OnHover }

Dependencies

More by deleted

View all
  • Splash Cursor

    Splash Cursor

    1.3K
  • Star Border

    Star Border

    728
  • Tilted Scroll

    Tilted Scroll

    433
  • Waves Background

    Waves Background

    362
  • Squares Background

    Squares Background

    326
  • Prism

    Prism

    218
  • Grid Motion

    Grid Motion

    183
  • Circular Gallery

    Circular Gallery

    173

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • Motion Blur Text

    Motion Blur Text

    34
  • Text Reveal

    Text Reveal

    313
  • Rainbow Text Effect

    Rainbow Text Effect

    46
  • Blur Reveal

    Blur Reveal

    296
  • Shine Border

    Shine Border

    947
  • NeonRGBTextEffect

    NeonRGBTextEffect

    144
  • Glow

    Glow

    40