sigilUI

Scale In

Reveal content with a restrained scale transition.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<ScaleIn>
  <Badge>Scale in</Badge>
</ScaleIn>

Props

PropTypeDefaultDescription
initialScalenumber0.92Initial scale factor.
delaynumber0Delay before animation in ms.
trigger"scroll" | "mount"——
viewOptionsUseInViewOptions——

Token integration

CSS VariablePurpose
--s-duration-normalDuration normal
--s-ease-outEase out
--s-ease-springEase spring