Beta

Section with stagger and scroll animations

Section with staggered text animations triggered by view, and rotated gallery animation triggered by scroll.

Your animated & reusuble
blocks for your designs

Crafting exceptional digital experiences through innovative design solutions.
From concept to creation, we transform your vision into reality.

gallery itemgallery itemgallery itemgallery item
gallery itemgallery itemgallery itemgallery item
gallery itemgallery itemgallery itemgallery item

Installation

Usage

<GalleryRotatedScroll spacerClass="h-96">
  <ContainerStaggerDemo />
  <div
    className="pointer-events-none absolute z-10 h-[20vh] w-full "
    style={{
      background: 'linear-gradient(to right, gray, rebeccapurple, blue)',
      filter: 'blur(84px)',
      mixBlendMode: 'screen',
    }}
  />

  <GalleryContainer yRange={[-100, 400]} className="h-dvh  gap-2">
    <GalleryCol className="gap-2 mt-[-10%]">
      {IMAGES_1.map((imageUrl, index) => (
        <img
          key={index}
          className="aspect-video block h-auto max-h-full w-full  rounded-md  object-cover shadow"
          src={imageUrl}
          alt="gallery item"
        />
      ))}
    </GalleryCol>
    <GalleryCol className="gap-2 mt-[-20%]" yRange={['15%', '5%']}>
      {IMAGES_2.map((imageUrl, index) => (
        <img
          key={index}
          className="aspect-video block h-auto max-h-full w-full  rounded-md  object-cover shadow"
          src={imageUrl}
          alt="gallery item"
        />
      ))}
    </GalleryCol>
    <GalleryCol yRange={['-10%', '2%']} className="gap-2 mt-[-10%]">
      {IMAGES_3.map((imageUrl, index) => (
        <img
          key={index}
          className="aspect-video block h-auto max-h-full w-full  rounded-md  object-cover shadow"
          src={imageUrl}
          alt="gallery item"
        />
      ))}
    </GalleryCol>
  </GalleryContainer>
</GalleryRotatedScroll>

Props

GalleryRotatedScroll

PropTypeDefault
spacerClass?
string
-

GalleryContainer

PropTypeDefault
scaleRange?
number
[1.1, 1]
rotateXRange?
number
[80, 0]
yRange?
number
[0, 300]

GalleryCol

PropTypeDefault
yRange?
number
[-5%, 1%]