Vibe UI
Initializing Vibe UI System...

Animated Shiny Text

A light glare effect which pans across text making it appear as if it is shimmering.

Preview

✨ Introducing Vibe UI Shimmer

Installation

pnpm dlx vibe-ui-kit@latest add animated-shiny-text

Global Configuration (CSS Styles)

Ensure the following CSS keyframes and animations are configured in your global theme file:

@theme {
  --animate-shiny-text: shiny-text 8s infinite;

  @keyframes shiny-text {
    0%,
    90%,
    100% {
      background-position: calc(-100% - var(--shiny-width)) 0;
    }
    30%,
    60% {
      background-position: calc(100% + var(--shiny-width)) 0;
    }
  }
}

Usage

import { AnimatedShinyText } from "@/components/ui/animated-shiny-text"
<AnimatedShinyText shimmerWidth={100}>
  Shimmering text
</AnimatedShinyText>

Props

PropTypeDefaultDescription
childrenReactNode""Text content to apply shimmer glare effect
shimmerWidthnumber100Width of the shimmering glare in pixels
classNamestring?""Additional classes for the element

This AnimatedShinyText component creates a light glare effect panning across text to simulate shimmering.

Contributors

JS
Jenish Sabhadiya

Theme Customizer

8px
@theme {
  --radius: 0.5rem;
  --glass-blur: 8px;
}
Changes apply instantly to this documentation workspace.
Animated Shiny Text | Vibe UI