Kinetic Variable Headline

A large display headline that animates variable font weight per glyph on entrance and pointer proximity. Letters inflate like a magnetic field while preserving readable text semantics.

UniqueUI CLI

npx uniqueui add kinetic-variable-headline

shadcn CLI

npx shadcn@latest add https://uniqueui-platform.vercel.app/r/kinetic-variable-headline.json -y

shadcn path expects @/lib/utils (run shadcn init first). Same source file is installed to components/ui/.

Preview

Usage

import { KineticVariableHeadline } from "@/components/ui/kinetic-variable-headline";

export default function Example() {
  return (
    <KineticVariableHeadline
      text="CRAFTED MOTION"
      mode="both"
      className="text-[clamp(3.5rem,11vw,7.2rem)] uppercase"
    />
  );
}

Props

PropTypeDescription
textstringHeadline text. Supports line breaks via `\n`.
mode"entrance" | "pointer" | "both"Animation mode: entrance stagger, pointer magnetic field, or both.
weightRange[number, number]Variable font weight range mapped across animations.
staggerMsnumberPer-letter delay for entrance animation in milliseconds.
as"h1" | "h2" | "h3"Semantic heading level.
classNamestringClasses for the headline wrapper.