Dev Design Library

Parallax

Wrapper that drifts its children at a speed factor as they cross the viewport, on either axis. Reduced-motion safe.

Parallax preview
Library
beUI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @beui/parallax
Files
  • components/motion/parallax.tsx
  • lib/utils.ts
Source
https://github.com/starc007/ui-components

Categories

More from beUI