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

    541
  • Contact with Globe

    Contact with Globe

    506
  • Hero Section with Cards

    Hero Section with Cards

    257
  • FAQ Accordion

    FAQ Accordion

    222
  • Logo Cloud Marquee

    Logo Cloud Marquee

    197
  • Testimonials Vertical Marquee

    Testimonials Vertical Marquee

    131
  • Testimonials Marquee

    Testimonials Marquee

    130
  • Hero With Pixel Background

    Hero With Pixel Background

    125

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