Micro-interactions

Rift

A draggable tear between two overlaid scenes. Push past an edge and it resists, then snaps back.

Install

Props

What It Demonstrates

Clip-path
Clipping an element to a shape, used for reveals, masks, and before/after sliders.
Before / after slider
A draggable divider that wipes between two overlaid images to compare them.
Drag
Moving an element by grabbing it, often with momentum when released.
Rubber-banding
Resistance and snap-back when you drag past a boundary (the iOS overscroll feel).
Continuity transition
A change that keeps the user oriented by visually connecting before and after. For example, making the same rectangle bigger and smaller.
Reveal
Content is uncovered gradually, often by animating a clip-path or mask.

Related Components

Appears In