Skip to Content
vitus·labs
Kinetic Presets

Presets Reference

Complete reference of all 122 animation presets organized by category.

All 122 presets define symmetric enter/leave animations: enter animates from the hidden (start) state to the visible state, and leave reverses it. Pass a preset to kinetic().preset().

import { kinetic } from '@vitus-labs/kinetic'
import { fadeUp } from '@vitus-labs/kinetic-presets'

const AnimatedDiv = kinetic('div').preset(fadeUp)

<AnimatedDiv show={visible}>content</AnimatedDiv>

Unless noted, the start state also has opacity: 0 and the visible state is the identity transform (translateY(0), scale(1), rotate(0), …) with opacity: 1. Enter and leave are all <duration> <easing> transitions. Values below are generated from the package source.

scaleOut, zoomOut, zoomOutUp/Down/Left/Right and puffOut are entrances despite their names — they start larger (or, for puffOut, smaller and blurred) and settle to normal size.

Fades

Opacity transitions with optional directional movement.

PresetStart (hidden) stateEnterLeaveNotes
fadeopacity only300ms ease-out200ms ease-inPure opacity fade.
fadeUptranslateY(16px)300ms ease-out200ms ease-inFade in while sliding upward (starts 16px below).
fadeDowntranslateY(-16px)300ms ease-out200ms ease-inFade in while sliding downward (starts 16px above).
fadeLefttranslateX(16px)300ms ease-out200ms ease-inFade in while sliding left (starts 16px to the right).
fadeRighttranslateX(-16px)300ms ease-out200ms ease-inFade in while sliding right (starts 16px to the left).
fadeUpBigtranslateY(48px)300ms ease-out200ms ease-inFade + slide up, dramatic distance (48px).
fadeDownBigtranslateY(-48px)300ms ease-out200ms ease-inFade + slide down, dramatic distance (48px).
fadeLeftBigtranslateX(48px)300ms ease-out200ms ease-inFade + slide left, dramatic distance (48px).
fadeRightBigtranslateX(-48px)300ms ease-out200ms ease-inFade + slide right, dramatic distance (48px).
fadeUpLefttranslate(16px, 16px)300ms ease-out200ms ease-inFade in from below-right corner (16px diagonal).
fadeUpRighttranslate(-16px, 16px)300ms ease-out200ms ease-inFade in from below-left corner (16px diagonal).
fadeDownLefttranslate(16px, -16px)300ms ease-out200ms ease-inFade in from above-right corner (16px diagonal).
fadeDownRighttranslate(-16px, -16px)300ms ease-out200ms ease-inFade in from above-left corner (16px diagonal).
fadeScalescale(0.95)300ms ease-out200ms ease-inFade in with subtle scale (from 95%).

Slides

Directional movement with opacity. Standard (16px) and big (48px) variants. The six non-Big slides match the values of their fade* counterparts.

PresetStart (hidden) stateEnterLeaveNotes
slideUptranslateY(16px)300ms ease-out200ms ease-inSlide up with fade (16px).
slideDowntranslateY(-16px)300ms ease-out200ms ease-inSlide down with fade (16px).
slideLefttranslateX(16px)300ms ease-out200ms ease-inSlide left with fade (16px).
slideRighttranslateX(-16px)300ms ease-out200ms ease-inSlide right with fade (16px).
slideUpBigtranslateY(48px)300ms ease-out200ms ease-inSlide up with fade, dramatic (48px).
slideDownBigtranslateY(-48px)300ms ease-out200ms ease-inSlide down with fade, dramatic (48px).
slideLeftBigtranslateX(48px)300ms ease-out200ms ease-inSlide left with fade, dramatic (48px).
slideRightBigtranslateX(-48px)300ms ease-out200ms ease-inSlide right with fade, dramatic (48px).

Scales

Scale transforms with opacity.

PresetStart (hidden) stateEnterLeaveNotes
scaleInscale(0.9)300ms ease-out200ms ease-inScale up from 90% with fade.
scaleOutscale(1.1)300ms ease-out200ms ease-inScale down from 110% with fade (an entrance despite the name).
scaleUpscale(0.5)300ms ease-out200ms ease-inDramatic scale from 50% with fade.
scaleDownscale(1.5)300ms ease-out200ms ease-inDramatic scale from 150% with fade.
scaleInUpscale(0.9) translateY(16px)300ms ease-out200ms ease-inScale from 90% + slide up (16px).
scaleInDownscale(0.9) translateY(-16px)300ms ease-out200ms ease-inScale from 90% + slide down (16px).
scaleInLeftscale(0.9) translateX(16px)300ms ease-out200ms ease-inScale from 90% + slide left (16px).
scaleInRightscale(0.9) translateX(-16px)300ms ease-out200ms ease-inScale from 90% + slide right (16px).
scaleRotateInscale(0) rotate(-180deg)500ms ease-out300ms ease-inSpin in while scaling from nothing — dramatic entrance.

Blurs

filter: blur() transitions with opacity.

PresetStart (hidden) stateEnterLeaveNotes
blurInfilter: blur(8px)300ms ease-out200ms ease-inBlur in from 8px with fade.
blurInUpfilter: blur(8px); transform: translateY(16px)300ms ease-out200ms ease-inBlur in from 8px + slide up (16px).
blurInDownfilter: blur(8px); transform: translateY(-16px)300ms ease-out200ms ease-inBlur in from 8px + slide down (16px).
blurInLeftfilter: blur(8px); transform: translateX(16px)300ms ease-out200ms ease-inBlur in from 8px + slide from right (16px).
blurInRightfilter: blur(8px); transform: translateX(-16px)300ms ease-out200ms ease-inBlur in from 8px + slide from left (16px).
blurScalefilter: blur(8px); transform: scale(0.95)300ms ease-out200ms ease-inBlur in from 8px + scale from 95%.

Bounces

Bouncy entrances using an overshooting cubic-bezier(0.68, -0.55, 0.265, 1.55) enter easing.

PresetStart (hidden) stateEnterLeaveNotes
bounceInscale(0.5)500ms cubic-bezier(0.68, -0.55, 0.265, 1.55)200ms ease-inBouncy scale entrance from 50%.
bounceInUptranslateY(40px)500ms cubic-bezier(0.68, -0.55, 0.265, 1.55)200ms ease-inBouncy slide up from 40px below.
bounceInDowntranslateY(-40px)500ms cubic-bezier(0.68, -0.55, 0.265, 1.55)200ms ease-inBouncy slide down from 40px above.
bounceInLefttranslateX(40px)500ms cubic-bezier(0.68, -0.55, 0.265, 1.55)200ms ease-inBouncy slide from 40px right.
bounceInRighttranslateX(-40px)500ms cubic-bezier(0.68, -0.55, 0.265, 1.55)200ms ease-inBouncy slide from 40px left.

Rotations

Rotation transforms with opacity.

PresetStart (hidden) stateEnterLeaveNotes
rotateInrotate(-15deg)300ms ease-out200ms ease-inRotate in from -15deg with fade.
rotateInReverserotate(15deg)300ms ease-out200ms ease-inRotate in from +15deg with fade.
rotateInUprotate(-5deg) translateY(16px)300ms ease-out200ms ease-inRotate in from -5deg + slide up (16px).
rotateInDownrotate(5deg) translateY(-16px)300ms ease-out200ms ease-inRotate in from +5deg + slide down (16px).

Flips

3D flips using perspective(600px).

PresetStart (hidden) stateEnterLeaveNotes
flipXperspective(600px) rotateX(90deg)500ms ease-out300ms ease-inFlip around X axis (top-to-bottom rotation).
flipXReverseperspective(600px) rotateX(-90deg)500ms ease-out300ms ease-inReverse flip around X axis.
flipYperspective(600px) rotateY(90deg)500ms ease-out300ms ease-inFlip around Y axis (left-to-right rotation).
flipYReverseperspective(600px) rotateY(-90deg)500ms ease-out300ms ease-inReverse flip around Y axis.
flipDiagonalperspective(600px) rotate3d(1, 1, 0, 90deg)500ms ease-out300ms ease-inFlip along the diagonal axis (top-left to bottom-right).
flipDiagonalReverseperspective(600px) rotate3d(1, -1, 0, 90deg)500ms ease-out300ms ease-inFlip along the anti-diagonal (top-right to bottom-left).

Zooms

Dramatic scale effects (from 0, 0.5 or 2x).

PresetStart (hidden) stateEnterLeaveNotes
zoomInscale(0)400ms ease-out250ms ease-inZoom from nothing (scale 0) to full size.
zoomInUpscale(0.5) translateY(48px)400ms ease-out250ms ease-inZoom in from below (scale 0.5 + translateY 48px).
zoomInDownscale(0.5) translateY(-48px)400ms ease-out250ms ease-inZoom in from above (scale 0.5 + translateY -48px).
zoomInLeftscale(0.5) translateX(48px)400ms ease-out250ms ease-inZoom in from right (scale 0.5 + translateX 48px).
zoomInRightscale(0.5) translateX(-48px)400ms ease-out250ms ease-inZoom in from left (scale 0.5 + translateX -48px).
zoomOutscale(2)400ms ease-out250ms ease-inZoom from 2x size down to normal (an entrance despite the name).
zoomOutUpscale(2) translateY(48px)400ms ease-out250ms ease-inZoom from 2x while sliding upward.
zoomOutDownscale(2) translateY(-48px)400ms ease-out250ms ease-inZoom from 2x while sliding downward.
zoomOutLeftscale(2) translateX(48px)400ms ease-out250ms ease-inZoom from 2x while sliding left.
zoomOutRightscale(2) translateX(-48px)400ms ease-out250ms ease-inZoom from 2x while sliding right.

Clip Path

CSS clip-path reveal animations (no opacity change).

PresetStart (hidden) stateEnterLeaveNotes
clipTopclip-path: inset(0 0 100% 0) → clip-path: inset(0 0 0 0)400ms ease-out250ms ease-inReveal from top edge.
clipBottomclip-path: inset(100% 0 0 0) → clip-path: inset(0 0 0 0)400ms ease-out250ms ease-inReveal from bottom edge.
clipLeftclip-path: inset(0 100% 0 0) → clip-path: inset(0 0 0 0)400ms ease-out250ms ease-inReveal from left edge.
clipRightclip-path: inset(0 0 0 100%) → clip-path: inset(0 0 0 0)400ms ease-out250ms ease-inReveal from right edge.
clipCenterclip-path: inset(50% 50% 50% 50%) → clip-path: inset(0 0 0 0)400ms ease-out250ms ease-inReveal from center outward (rectangular inset).
clipCircleclip-path: circle(0% at 50% 50%) → clip-path: circle(75% at 50% 50%)500ms ease-out300ms ease-inReveal with expanding circle from center.
clipDiamondclip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%) → clip-path: polygon(50% -50%, 150% 50%, 50% 150%, -50% 50%)500ms ease-out300ms ease-inReveal with expanding diamond shape from center.
clipCornerclip-path: polygon(0 0, 0 0, 0 0, 0 0) → clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)500ms ease-out300ms ease-inReveal expanding from top-left corner.

Perspective

Subtle 3D tilts using perspective(600px).

PresetStart (hidden) stateEnterLeaveNotes
perspectiveUpperspective(600px) rotateX(15deg)300ms ease-out200ms ease-inTilt in from above (3D perspective + rotateX).
perspectiveDownperspective(600px) rotateX(-15deg)300ms ease-out200ms ease-inTilt in from below (3D perspective + rotateX).
perspectiveLeftperspective(600px) rotateY(-15deg)300ms ease-out200ms ease-inTilt in from left (3D perspective + rotateY).
perspectiveRightperspective(600px) rotateY(15deg)300ms ease-out200ms ease-inTilt in from right (3D perspective + rotateY).

Swings

Swing in from an edge — the transformOrigin is part of both states.

PresetStart (hidden) stateEnterLeaveNotes
swingInToptransform: perspective(600px) rotateX(-90deg); transform-origin: top500ms ease-out300ms ease-inSwing in from top edge (hinged at top).
swingInBottomtransform: perspective(600px) rotateX(90deg); transform-origin: bottom500ms ease-out300ms ease-inSwing in from bottom edge (hinged at bottom).
swingInLefttransform: perspective(600px) rotateY(90deg); transform-origin: left500ms ease-out300ms ease-inSwing in from left edge (hinged at left).
swingInRighttransform: perspective(600px) rotateY(-90deg); transform-origin: right500ms ease-out300ms ease-inSwing in from right edge (hinged at right).

Tilts

3D tilt combined with movement.

PresetStart (hidden) stateEnterLeaveNotes
tiltInUpperspective(600px) rotateX(15deg) translateY(24px)300ms ease-out200ms ease-inTilt in from below with upward movement.
tiltInDownperspective(600px) rotateX(-15deg) translateY(-24px)300ms ease-out200ms ease-inTilt in from above with downward movement.
tiltInLeftperspective(600px) rotateY(-15deg) translateX(24px)300ms ease-out200ms ease-inTilt in from the right with leftward movement.
tiltInRightperspective(600px) rotateY(15deg) translateX(-24px)300ms ease-out200ms ease-inTilt in from the left with rightward movement.

Floats

Gentle floating entrances with a subtle scale and cubic-bezier(0.23, 1, 0.32, 1) enter easing.

PresetStart (hidden) stateEnterLeaveNotes
floatUptranslateY(32px) scale(0.97)500ms cubic-bezier(0.23, 1, 0.32, 1)300ms ease-inGentle float up with subtle scale and premium easing.
floatDowntranslateY(-32px) scale(0.97)500ms cubic-bezier(0.23, 1, 0.32, 1)300ms ease-inGentle float down with subtle scale and premium easing.
floatLefttranslateX(32px) scale(0.97)500ms cubic-bezier(0.23, 1, 0.32, 1)300ms ease-inGentle float from right with subtle scale.
floatRighttranslateX(-32px) scale(0.97)500ms cubic-bezier(0.23, 1, 0.32, 1)300ms ease-inGentle float from left with subtle scale.

Flies

Dramatic fly-in from outside the viewport.

PresetStart (hidden) stateEnterLeaveNotes
flyInUptranslateY(100vh)500ms ease-out300ms ease-inFly in from below the viewport.
flyInDowntranslateY(-100vh)500ms ease-out300ms ease-inFly in from above the viewport.
flyInLefttranslateX(100vw)500ms ease-out300ms ease-inFly in from the right of the viewport.
flyInRighttranslateX(-100vw)500ms ease-out300ms ease-inFly in from the left of the viewport.

Light Speed

Skewed high-speed entrances.

PresetStart (hidden) stateEnterLeaveNotes
lightSpeedInLefttranslateX(100%) skewX(-30deg)400ms ease-out250ms ease-inSpeed streak entrance from the right.
lightSpeedInRighttranslateX(-100%) skewX(30deg)400ms ease-out250ms ease-inSpeed streak entrance from the left.

Back

Approach from a distance at reduced scale.

PresetStart (hidden) stateEnterLeaveNotes
backInUpscale(0.7) translateY(80px)400ms ease-out250ms ease-inApproach from below at reduced scale.
backInDownscale(0.7) translateY(-80px)400ms ease-out250ms ease-inApproach from above at reduced scale.
backInLeftscale(0.7) translateX(80px)400ms ease-out250ms ease-inApproach from the right at reduced scale.
backInRightscale(0.7) translateX(-80px)400ms ease-out250ms ease-inApproach from the left at reduced scale.

Pushes

Push in from the side with a slight scale.

PresetStart (hidden) stateEnterLeaveNotes
pushInLefttranslateX(-48px) scale(0.9)300ms ease-out200ms ease-inPush in from the left with slight scale.
pushInRighttranslateX(48px) scale(0.9)300ms ease-out200ms ease-inPush in from the right with slight scale.

Rolls

Rotate + translate entrance.

PresetStart (hidden) stateEnterLeaveNotes
rollInLefttranslateX(-100%) rotate(-120deg)500ms ease-out300ms ease-inRoll in from the left (rotate + translateX).
rollInRighttranslateX(100%) rotate(120deg)500ms ease-out300ms ease-inRoll in from the right (rotate + translateX).

Swirls

Spiral-in rotation with scale from 0.

PresetStart (hidden) stateEnterLeaveNotes
swirlInrotate(-540deg) scale(0)600ms ease-out400ms ease-inSwirl in clockwise — 1.5 rotations + scale from 0.
swirlInReverserotate(540deg) scale(0)600ms ease-out400ms ease-inSwirl in counter-clockwise.

Slits

Slit reveal with 3D rotation.

PresetStart (hidden) stateEnterLeaveNotes
slitHorizontalperspective(600px) rotateY(90deg) scaleX(0)500ms ease-out300ms ease-inReveal through a horizontal slit (rotateY + scaleX).
slitVerticalperspective(600px) rotateX(90deg) scaleY(0)500ms ease-out300ms ease-inReveal through a vertical slit (rotateX + scaleY).

Expand

Single-axis expansion with opacity.

PresetStart (hidden) stateEnterLeaveNotes
expandXscaleX(0)300ms ease-out200ms ease-inExpand horizontally from scaleX(0) with fade.
expandYscaleY(0)300ms ease-out200ms ease-inExpand vertically from scaleY(0) with fade.

Squish

Asymmetric scale (squash and stretch) with spring easing.

PresetStart (hidden) stateEnterLeaveNotes
squishXscaleX(1.4) scaleY(0.6)400ms cubic-bezier(0.34, 1.56, 0.64, 1)250ms ease-inSquish horizontally — starts wide and narrow, snaps to normal.
squishYscaleX(0.6) scaleY(1.4)400ms cubic-bezier(0.34, 1.56, 0.64, 1)250ms ease-inSquish vertically — starts tall and thin, snaps to normal.

Skews

Skew transforms with opacity.

PresetStart (hidden) stateEnterLeaveNotes
skewInskewX(-5deg)300ms ease-out200ms ease-inSkew in from -5deg on X axis with fade.
skewInReverseskewX(5deg)300ms ease-out200ms ease-inSkew in from +5deg on X axis with fade.
skewInYskewY(-5deg)300ms ease-out200ms ease-inSkew in from -5deg on Y axis with fade.
skewInYReverseskewY(5deg)300ms ease-out200ms ease-inSkew in from +5deg on Y axis with fade.

Special

Unique effects.

PresetStart (hidden) stateEnterLeaveNotes
popInscale(0.3)300ms cubic-bezier(0.34, 1.56, 0.64, 1)200ms ease-inPop in with snappy spring overshoot from tiny.
puffInfilter: blur(4px); transform: scale(1.5)400ms ease-out250ms ease-inCondense from a large blurry cloud into focus.
puffOutfilter: blur(4px); transform: scale(0.5)400ms ease-out250ms ease-inForm from a tiny blurry spark into focus (an entrance despite the name).
rubberInscale(0.6)500ms cubic-bezier(0.175, 0.885, 0.32, 1.275)250ms ease-inElastic rubber-band scale entrance with heavy overshoot.
newspaperInscale(0) rotate(-720deg)700ms ease-out400ms ease-inNewspaper spin — dramatic zoom from 0 with double rotation.
springInscale(0.8)400ms cubic-bezier(0.34, 1.56, 0.64, 1)200ms ease-inSpring scale entrance from 80% — gentle overshoot.
spinInrotate(-180deg)500ms ease-out300ms ease-inFull 180deg clockwise spin with fade.
spinInReverserotate(180deg)500ms ease-out300ms ease-inFull 180deg counter-clockwise spin with fade.

Drop / Rise

Full-height vertical movement.

PresetStart (hidden) stateEnterLeaveNotes
droptranslateY(-100%)400ms ease-out250ms ease-inDrop from above (translateY -100%).
risetranslateY(100%)400ms ease-out250ms ease-inRise from below (translateY 100%).
Edit on GitHub

Last updated on

On this page