sigilUI

Animate On Mount

Wrapper that plays a CSS transition on mount (no scroll trigger). Lighter alternative to the GSAP-based AnimateOnScroll for simple mount reveals.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<AnimateOnMount>
  <Badge>I animated in on mount</Badge>
</AnimateOnMount>

Props

PropTypeDefaultDescription
presetPresetNamefadeUpAnimation preset.
delaynumber0Delay in ms.
durationnumber400Duration in ms.

Token integration

CSS VariablePurpose
--s-ease-defaultEase default