Scroll Velocity Text

Scroll Velocity Text: A direction-aware kinetic typography component that smoothly expands letter-spacing and scale on downward scroll, and winds back on upward scroll, with zero per-frame React re-renders. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Scroll Velocity Text

npx motion-ui-skill add scrollvelocitytext

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • react
  • tailwind-merge

Source files

Scroll Velocity Text

A direction-aware kinetic typography component that smoothly expands letter-spacing and scale on downward scroll, and winds back on upward scroll, with zero per-frame React re-renders.

Install

npx motion-ui-skill add scrollvelocitytext

Dependencies

  • clsx
  • react
  • tailwind-merge

Usage

"use client";

import { ScrollVelocityText as Scrollvelocitytext } from "@/components/craft/scrollvelocitytext";

export function Example() {
  return (
    <div className="p-6">
      <Scrollvelocitytext />
    </div>
  );
}

Browse this category