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

    506
  • Contact with Globe

    Contact with Globe

    471
  • Hero Section with Cards

    Hero Section with Cards

    237
  • FAQ Accordion

    FAQ Accordion

    207
  • Logo Cloud Marquee

    Logo Cloud Marquee

    188
  • Testimonials Vertical Marquee

    Testimonials Vertical Marquee

    119
  • Testimonials Marquee

    Testimonials Marquee

    117
  • Hero With Pixel Background

    Hero With Pixel Background

    116

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    134
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    9
  • Text Reveal

    Text Reveal

    31
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Scroll Fill Headline

    Scroll Fill Headline

    44
  • Shine Border

    Shine Border

    1K
  • Split text

    Split text

    79
  • Motion Blur Text

    Motion Blur Text

    47