n
nonaxial
Scroll me

Parallax Section

Layout

Parallax scrolling section

parallaxscrolldepth

Installation

$
npx shadcn@latest add https://nonaxial.com/r/parallax-section.json

Usage

tsx
import { ParallaxSection } from "@/components/nonaxial/parallax-section"

export default function Example() {
  return (
    <ParallaxSection>{/* Your content here */}</ParallaxSection>
  )
}

Props

PropTypeDefault
childrenReactNode
classNamestring