CSS Animations · Interactive

Gestures and layout.

Portrait in a mirrored gold visor helmet and a gold chain collar Drag me

Gestures & physics

Draggable · momentum

Portrait of a man in a tan blazer and cream sweater with sunglasses tucked into the collar, standing outdoors
data-kui="drag-inertia"
Model in a pink floral blouse and matching trousers blowing a bubblegum bubble, seated cross-legged on a pink pedestal against a pink background
data-kui="throwable"

Draggable · return springs

Profile portrait of a model in a glossy grey rounded helmet with an integrated mechanical ear piece, gloved hand raised to the chin
data-kui="elastic-pull"
Portrait of a man in a bold navy-and-cream swirl-print turtleneck sweater on a city street
data-kui="rubber-band"
Profile portrait of a model wearing a glowing translucent sculptural headpiece shaped like a shell, dusk cityscape behind
data-kui="snap-back"

Draggable · axis

Close-up portrait of a model in a rhinestone-mesh hood and turtleneck, red lipstick and a nose ring
data-kui="drag"
Portrait of a model with white hair wearing a glowing red LED visor and white high-collar jacket against a dark red background
data-kui="drag-x"
Close-up portrait of a model in an all-white hooded outfit and mirrored wraparound sunglasses with bold red lipstick
data-kui="drag-y"

Swipeable

Close-up portrait of a model with pale features and metallic wire choker rings, wearing reflective black visor sunglasses
data-kui="swipe"
Portrait of a model in a strapless navy-and-cream gown printed with abstract Picasso-style faces, beside a matching painted vase
data-kui="swipe-x"

Swipe actions

Face under a glossy crimson visor helmet with ringed earrings and a lip spike Drag either way
Abstract beauty portrait of a face rendered in liquid gold silk, fabric swirled around the head It stops where the action shows

Pressable

Close-up portrait of a model in a golden dome-shaped reflective visor catching warm sunlight, nose and lips visible below
data-kui="long-press"

Magnetic

Beauty portrait of a face wrapped in a black headwrap down to the nose, gold drop earrings, matte black lipstick
data-kui="magnetic"
Profile portrait of a model in a glossy black full-face helmet with a reflective visor and matching black leather jacket
data-kui="magnetic-snap"

Layout & FLIP

flip-filter

flip-reorder

Profile portrait of a model in a glossy grey rounded helmet with an integrated mechanical ear piece, gloved hand raised to the chin
click to bring forward
Portrait of a model in a strapless navy-and-cream gown printed with abstract Picasso-style faces, beside a matching painted vase
click to bring forward
Close-up portrait of a model in a golden dome-shaped reflective visor catching warm sunlight, nose and lips visible below
click to bring forward
Portrait of a man in a tan blazer and cream sweater with sunglasses tucked into the collar, standing outdoors
click to bring forward

flip-reorder leave:

Close-up portrait of a model in a rhinestone-mesh hood and turtleneck, red lipstick and a nose ringSilver mesh
Model in a pink floral blouse and matching trousers blowing a bubblegum bubble, seated cross-legged on a pink pedestal against a pink backgroundPink bubblegum
Profile portrait of a model in a glossy grey rounded helmet with an integrated mechanical ear piece, gloved hand raised to the chinGrey helmet
Close-up portrait of a model in a golden dome-shaped reflective visor catching warm sunlight, nose and lips visible belowGold visor
Portrait of a model in a strapless navy-and-cream gown printed with abstract Picasso-style faces, beside a matching painted vasePainted gown
Portrait of a man in a tan blazer and cream sweater with sunglasses tucked into the collar, standing outdoorsTan blazer

flip-sort

Profile portrait of a model in a glossy black full-face helmet with a reflective visor and matching black leather jacket
black helmet
Model in a pink floral blouse and matching trousers blowing a bubblegum bubble, seated cross-legged on a pink pedestal against a pink background
pink bubblegum
Close-up portrait of a model in a rhinestone-mesh hood and turtleneck, red lipstick and a nose ring
silver mesh
Portrait of a model with white hair wearing a glowing red LED visor and white high-collar jacket against a dark red background
red visor

flip-shuffle

Close-up portrait of a model in an all-white hooded outfit and mirrored wraparound sunglasses with bold red lipstick
data-kui="flip-shuffle"
Portrait of a man in a tan blazer and cream sweater with sunglasses tucked into the collar, standing outdoors
data-kui="flip-shuffle"
Portrait of a man in a bold navy-and-cream swirl-print turtleneck sweater on a city street
data-kui="flip-shuffle"
Profile portrait of a model wearing a glowing translucent sculptural headpiece shaped like a shell, dusk cityscape behind
data-kui="flip-shuffle"

grid-to-list

Close-up portrait of a model with pale features and metallic wire choker rings, wearing reflective black visor sunglasses
data-kui="grid-to-list"
Profile portrait of a model in a glossy black full-face helmet with a reflective visor and matching black leather jacket
data-kui="grid-to-list"
Profile portrait of a model in a glossy grey rounded helmet with an integrated mechanical ear piece, gloved hand raised to the chin
data-kui="grid-to-list"
Close-up portrait of a model in a golden dome-shaped reflective visor catching warm sunlight, nose and lips visible below
data-kui="grid-to-list"

masonry-reflow

Abstract beauty portrait of a face rendered in liquid gold silk, fabric swirled around the head
classic
Profile portrait of a model wearing a glowing translucent sculptural headpiece shaped like a shell, dusk cityscape behind
futuristic
Beauty portrait of a matte white face with molten liquid gold dripping over the eyes and mouth, bold red lips
futuristic
Close-up portrait of a model in an all-white hooded outfit and mirrored wraparound sunglasses with bold red lipstick
futuristic
Portrait of a model with white hair wearing a glowing red LED visor and white high-collar jacket against a dark red background
futuristic
Portrait of a model in a strapless navy-and-cream gown printed with abstract Picasso-style faces, beside a matching painted vase
classic

expand-to-modal

accordion-height & tab-indicator-slide

The draggable presets use return:true with different springs (elastic-pull, rubber-band, and snap-back at stiffness:260).
swipeable and pressable expose state through data-kui-swipe and data-kui-pressed.
A MutationObserver watches childList, subtree, and hidden changes (including reappends for grid-to-list).

Even columns with a fixed aspect ratio.

Hover & pointer

anchored-preview

Red visor Portrait of a model with white hair wearing a glowing red LED visor and white high-collar jacket against a dark red background
data-kui="anchored-preview"
Gold face Beauty portrait of a matte white face with molten liquid gold dripping over the eyes and mouth, bold red lips
data-kui="anchored-preview-left"
Black helmet Profile portrait of a model in a glossy black full-face helmet with a reflective visor and matching black leather jacket
data-kui="anchored-preview-right"

group-dim

Close-up portrait of a model in an all-white hooded outfit and mirrored wraparound sunglasses with bold red lipstick
white hood
Beauty portrait of a face wrapped in a black headwrap down to the nose, gold drop earrings, matte black lipstick
black wrap
Portrait of a man in a bold navy-and-cream swirl-print turtleneck sweater on a city street
swirl knit
Close-up portrait of a model with pale features and metallic wire choker rings, wearing reflective black visor sunglasses
wire rings

proximity-field & proximity-glow

Profile portrait of a model in a glossy black full-face helmet with a reflective visor and matching black leather jacket
black helmet
Portrait of a model with white hair wearing a glowing red LED visor and white high-collar jacket against a dark red background
red visor
Profile portrait of a model in a glossy grey rounded helmet with an integrated mechanical ear piece, gloved hand raised to the chin
grey helmet
Close-up portrait of a model in a golden dome-shaped reflective visor catching warm sunlight, nose and lips visible below
gold visor

cursor-trail

Move across

Portrait in a mirrored gold visor helmet and a gold chain collar Face under a glossy crimson visor helmet with ringed earrings and a lip spike Close-up portrait of a model in a rhinestone-mesh hood and turtleneck, red lipstick and a nose ring Close-up portrait of a model with pale features and metallic wire choker rings, wearing reflective black visor sunglasses Face under a white visor and helmet with a pink glow, white hair and a quilted high collar Model in a white oversized dress and VR headset sitting in a black-and-white checkered room
data-kui="cursor-trail"

Curved label · cursor-follow over:

PORTSEE MORE · SEE MORE · SEE MORE · SEE MORE · SEE MORE ·RAITS
Hover the ring.

search-expand & press-depth

data-kui="search-expand"
data-kui="press-depth"

3D

card-flip-y · cube-rotate · book-page-turn · fold-panel

Face under a glossy crimson visor helmet with ringed earrings and a lip spike
data-kui="cube-rotate parts:cube tumble:true"

Media

before-after-wipe & lightbox-open

Abstract beauty portrait of a face rendered in liquid gold silk, fabric swirled around the head Beauty portrait of a matte white face with molten liquid gold dripping over the eyes and mouth, bold red lips
data-kui="before-after-wipe 1400ms"
Face under a white visor and helmet with a pink glow, white hair and a quilted high collar
data-kui="lightbox-open 900ms"

Forms

label-float · input-underline-grow · focus-ring-grow · strength-meter · validate-check · validate-shake · radio-fill · range-fill · toggle-morph · checkbox-draw · submit-to-spinner-to-check

Close-up portrait of a model with pale features and metallic wire choker rings, wearing reflective black visor sunglasses
Size
3

Motion paths

path-arc · path-wave · path-loop · path-swoop · motion-path

Portrait in a mirrored gold visor helmet and a gold chain collar

Page transitions

page-fade · page-slide · curtain-wipe

Face under a white visor and helmet with a pink glow, white hair and a quilted high collar

White visor

Face under a glossy crimson visor helmet with ringed earrings and a lip spike

Crimson visor

Astronaut helmet with a glowing cyan HUD visor against warm night lights

Cyan HUD

view-swap · page-morph

Profile portrait of a model in a glossy grey helmet with a mechanical ear piece Beauty portrait of a face in liquid gold silk Close-up portrait of a model in a golden dome-shaped reflective visor
Profile portrait of a model in a glossy grey helmet with a mechanical ear piece

Grey helmet

data-kui="view-swap" · data-kui="page-morph name:morph-shot"

Programmatic API