Bundui.io

Marquee Effect

Text 349

About

The marquee component is designed to create a dynamic user experience by continuously scrolling text horizontally. This effect is perfect for highlighting important information, announcements, or news headlines that need to catch the user's attention. The smooth scrolling animation adds movement and liveliness to the interface, making important content more noticeable to users. This example was created using Tailwind CSS and Framer Motion.

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

Code

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

Usage.tsx

import { MarqueeAnimation } from "@/components/ui/marquee-effect";

function MarqueeEffectDoubleExample() {
  return (
    <div className="flex flex-col gap-4">
      <MarqueeAnimation
        direction="left"
        baseVelocity={-3}
        className="bg-green-500 text-white py-2"
      >
        Bundui Components
      </MarqueeAnimation>
      <MarqueeAnimation
        direction="right"
        baseVelocity={-3}
        className="bg-purple-500 text-white py-2"
      >
        Bundui Components
      </MarqueeAnimation>
    </div>
  );
}

export { MarqueeEffectDoubleExample }; 

Dependencies

More by Bundui.io

View all
  • Fluid particles background

    Fluid particles background

    861
  • Floating paths

    Floating paths

    732
  • Text Gradient Scroll

    Text Gradient Scroll

    662
  • Stars

    Stars

    576
  • Image Comparison

    Image Comparison

    430
  • Magnetic Button

    Magnetic Button

    412
  • Wavy

    Wavy

    233
  • Animated Text

    Animated Text

    149

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