Vilqor

Shimmer Text Heading

Heroes

About

Text in one colour that catches the light: every few seconds a soft glint runs across it. Plain coloured text at rest and with reduced motion; italic overhang is not clipped. From the Midnight Lite template (MIT).

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

Code

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

Usage.tsx

import { GlintText } from "@/components/ui/glint-text"

const settings = {
  lead: "Ship the page",
  accent: "this afternoon.",
  background: "#f6f5f1",
  text: "#16171b",
  color: "#16171b",
  glint: "#c3c6ce",
  duration: 6,
}

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props }
  return (
    <div className="flex min-h-svh w-full items-center justify-center px-6" style={{ background: s.background }}>
      <h1
        className="text-center text-[clamp(44px,8vw,104px)] leading-[0.98] font-semibold tracking-[-0.045em] text-balance"
        style={{ color: s.text, fontFamily: "ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif" }}
      >
        {s.lead}
        <br />
        <GlintText color={s.color} glint={s.glint} duration={s.duration} delay={0.4}>
          {s.accent}
        </GlintText>
      </h1>
    </div>
  )
}

Dependencies

More by Vilqor

View all
  • Card Carousel to Grid

    Card Carousel to Grid

  • AI Email Reply with Tones

    AI Email Reply with Tones

  • AI Memory Timeline

    AI Memory Timeline

  • Use Cases Tabs Section

    Use Cases Tabs Section

  • Pricing Section with Toggle

    Pricing Section with Toggle

  • Logo Cloud Marquee

    Logo Cloud Marquee

  • Testimonials Marquee

    Testimonials Marquee

  • AI Agent Workflow Diagram

    AI Agent Workflow Diagram

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.1K
  • SaaS Template

    SaaS Template

    2.6K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero 03

    Hero 03

    361
  • Hero

    Hero

    1.3K
  • Hero Section

    Hero Section

    177
  • Editorial Collage Hero

    Editorial Collage Hero

    488
  • HeroSectionWithGradient

    HeroSectionWithGradient

    376