Lab
Interaction experiments I design and build directly in code, in plain HTML, CSS and JavaScript. Click, hold and hover: everything here is real.
Copy button
The icon swaps with scale and blur instead of a hard cut, so the feedback reads as a single motion.
Hold to delete
Asymmetric timing for destructive actions: slow to commit (1.2s), fast to cancel (0.2s). Works with the keyboard too.
Segmented control
The indicator travels between options. Arrow keys move the selection and the focus ring only shows for keyboard users.
Toast stack
New toasts push older ones back. Hover the stack to expand it; the timers pause while you read.
Theme switch
The new theme grows from the button you clicked, using clip-path, so the change has a clear origin.
Number ticker
Each digit rolls in its own column with a small stagger. Tabular numbers keep the width from jumping.