SmoothKit
v1.0.0
DocsComponents

Smooth Reveal

Animate elements as they enter the viewport. Supports fade, slide, and scale effects with zero layout shift.

Hey! Have you tried the new update?

Yeah! The animations are incredibly smooth now.

It feels native. Minimal layout shifts too.

Installation

npm install smoothkit

Usage

typescript

API Reference

PropertyTypeDefaultDescription
animationstring'fade-up'Type of animation (fade-up, fade-in, scale, slide-left, etc).
durationnumber600Animation duration in milliseconds.
delaynumber0Delay before animation starts in ms.
thresholdnumber0.1Viewport intersection threshold (0-1).