Slide in

Also called slide-in animation, slide up animation, or fly in

An entrance animation where an element moves into place from one side, often while fading in, so people see where it came from.

What is Slide in?

A slide in moves an element along one axis with transform: translate, from an offset position to where it rests. The direction carries meaning: a side panel slides from the edge it lives on, a toast rises from the bottom, and a dropdown drops a few pixels from its button.

Distance changes the feel. Short offsets of 8 to 24px combined with a fade make a polished entrance for cards and menus. Full slides from off-screen suit drawers, sheets, and mobile screens that cover the page.

Slide with transform instead of left or margin, so the browser skips layout work on every frame. Use an ease-out curve, and replace the movement with a fade when someone prefers reduced motion.

Often confused with

Drawer
A drawer is a panel component that usually slides in from an edge. Slide in is the motion itself, and it works on any element.
All terms

Fade in

An entrance animation where an element goes from fully transparent to fully visible, so it appears gently instead of popping in.

Translate

A CSS transform that moves an element along the x or y axis while the layout around it stays exactly where it was.

Direction-aware transition

A transition that slides new content in from the side you are heading toward, so going forward and going back move in opposite directions.

Ease-out

An easing curve that starts fast and slows down at the end, so motion feels quick and lands softly.