Vibe UI
Initializing Vibe UI System...

Scroll Based Velocity

A responsive text marquee whose velocity and scroll-direction react to the user's scroll.

Preview

FAST INTEGRATIONLIGHTWEIGHTACCESSIBLE
FLEXIBLE STYLINGCOMPATIBLEMODERN INTERFACE

Installation

Installation

pnpm dlx vibe-ui-kit@latest add scroll-based-velocity

Velocity with Features

Frontend
Database
Cloud
Security
Hosting
API Dev
DevOps
Hardware
Storage
Network

Velocity with Images

Gallery 0Gallery 1Gallery 2Gallery 3Gallery 4
Gallery 5Gallery 6Gallery 7Gallery 8Gallery 9

Usage

import { ScrollVelocityContainer, ScrollVelocityRow } from "@/components/ui/scroll-based-velocity"
<ScrollVelocityContainer>
  <ScrollVelocityRow baseVelocity={5} direction={1}>
    <span>SCROLL VELOCITY</span>
  </ScrollVelocityRow>
</ScrollVelocityContainer>

Props

PropTypeDefaultDescription
childrenReactNode""The content elements to scroll inside the row
baseVelocitynumber5Speed coefficient of the marquee scrolling marquee row
direction1 | -11Initial scroll direction flow (positive values scroll left)
scrollReactivitybooleantrueIncreases animation velocity dynamically based on page scroll rate
classNamestring?""Additional classes for the row container

This ScrollVelocity component animates marquee-style rows of typography linked directly to user scrolling speeds.

Contributors

JS
Jenish Sabhadiya

Theme Customizer

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