sigilUI

Animate On Scroll

Reveal content as it enters the viewport.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { AnimateOnScroll } from "@sigil-ui/components";

Usage

<AnimateOnScroll>
  <Badge>I animate when scrolled into view</Badge>
</AnimateOnScroll>

Props

PropTypeDefaultDescription
presetUseSigilAnimateConfig["preset"]fadeUpAnimation preset.
delaynumber—Delay in seconds.
durationnumber0.6Duration in seconds.