ScrollBasedVelocity

1.0.0

Two opposing display-type rows that crawl sideways and surge when the page is scrolled.

Component data

ID
scroll-based-velocity
Category
marketing
Version
1.0.0
Added
2026-09-16
Type
block
Keyboard nav
No
Reduced motion
Yes
marketingtextanimationmarqueescrollvelocityheadlinekinetic

Dependencies

  • clsx
  • tailwind-merge

Examples

Default

<div className="bg-background text-foreground">
      <ScrollBasedVelocity {...scrollBasedVelocityMocks.default} />
    </div>

Variants

<div className="bg-background text-foreground">
      <ScrollBasedVelocity {...scrollBasedVelocityMocks.alternate} />
    </div>

Related