Command Palette

Search for a command to run...

1
Blog
PreviousNext

Shimmering Text

Smooth shimmering text animation built with Motion.

Loading...

Installation

pnpm dlx shadcn add @ncdai/shimmering-text

Usage

import { ShimmeringText } from "@/components/ncdai/shimmering-text";
<ShimmeringText text="slide to unlock" />

Examples

Custom Color

Loading...

CSS Variables explanation:

  • --color: Base text color (the default/resting state of characters)
  • --shimmering-color: Peak highlight color (the bright color characters transition to during the shimmer effect)