scrollxui

Pixel Highlight

Text 20

About

An animated text component that reveals its content with directional pixel-particle shimmer rendered on a canvas.

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

Code

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

Usage.tsx

import { PixelHighlight } from "@/components/ui/pixel-highlight";

export default function PixelHighlightDemo() {
  return (
    <div className="flex w-full h-screen items-center justify-center bg-background">
      <PixelHighlight
        text="Top Down"
        colors="#d8b4fe,#a78bfa,#7c3aed"
        direction="top"
        speed={70}
        gap={3}
        fontSize={12}
        className="w-full h-32"
      />
    </div>
  );
}

Dependencies

More by scrollxui

View all
  • Features With Panel

    Features With Panel

    479
  • Contact with Globe

    Contact with Globe

    450
  • Hero Section with Cards

    Hero Section with Cards

    223
  • FAQ Accordion

    FAQ Accordion

    204
  • Logo Cloud Marquee

    Logo Cloud Marquee

    182
  • Testimonials Marquee

    Testimonials Marquee

    112
  • Testimonials Vertical Marquee

    Testimonials Vertical Marquee

    111
  • Hero With Pixel Background

    Hero With Pixel Background

    110

More in Text

View all
  • Rainbow Text Effect

    Rainbow Text Effect

    59
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    132
  • Scroll Fill Headline

    Scroll Fill Headline

    18
  • Text Reveal

    Text Reveal

    30
  • Text Gradient

    Text Gradient

    126
  • Depth Flip Text

    Depth Flip Text

    146
  • Apple Hello Effect

    Apple Hello Effect

    665
  • Animated Text Cycle

    Animated Text Cycle

    1.3K