transitions.marcow.poke.site

Transitions Showcase

A complete interactive reference for all 21 transition skills from the Transitions.dev spec by Jakub Antalík. Native CSS and View Transitions API only.

Tokens

Official timing tokens

TokenValueUsed for
--p1-dur150msMicro-interactions
--p2-dur200msIcon swaps, toggles, dropdowns
--p3-dur250msState changes, toasts
--p4-dur300msLayout resize, panels
--p4-easecubic-bezier(0.22, 1, 0.36, 1)Exit ease
01

Card Resize

Fluid layout resizing with --p4-dur and --p4-ease.

.t-resize
02

Menu Dropdown

Opacity + translateY(-8px) scale(0.96) entry with --p2-dur and --p4-ease.

.t-dropdown
03

Modal

Centered panel with scale and fade overlay.

Modal title

This panel scales in from 0.96 with --p3-dur ease.

.t-modal-overlay
04

Icon Swap

Scale(0.5) + blur(2px) for hidden icon state.

.t-icon-swap
05

Success Check

Springy confirmation animation.

.t-success-check
06

Button Press

Tactile scale down on press.

.t-button-press
07

Toggle Switch

Smooth thumb travel and track fill.

.t-toggle-thumb
08

Toast

Slide up from bottom with fade.

Saved successfully
.t-toast
09

Tooltip

Scale-95 entry from bottom center.

Tooltip text
.t-tooltip
10

Accordion

Grid-template-rows reveal with rotating icon.

Content reveals smoothly using CSS grid animation.
.t-accordion-content
11

Tab Panel

Animated underline and crossfade panel.

Content for tab A.
.t-tab-panel
12

Slide Over

Panel slides in from the right edge.

Drawer

.t-slide-over
13

Sheet

Bottom sheet rising from the viewport edge.

Bottom sheet

Rises with --p4-dur ease.

.t-sheet
14

Popover

Scale-95 entry from top center.

Popover content
.t-popover
15

Skeleton

Shimmer loading placeholder.

.t-skeleton
16

Image Reveal

Clip-path wipe reveal from top to bottom.

Revealed content
.t-image-reveal
17

List Reorder

Items smoothly move to new positions.

Item A
Item B
Item C
.t-list-reorder
18

Page Transition

View Transitions API morphs elements between states.

Card A
Card B
Card C
document.startViewTransition
19

Hover Lift

Card lifts and brightens border on hover.

Hover this card

It lifts 4px and the border lightens.

.t-hover-lift
20

Stagger Children

Sequential fade-and-rise entrance.

One
Two
Three
.t-stagger
21

Error Shake

Form error shake animation over 400ms.

.t-error-shake