Menu

Physical UX in Angular, from CSS springs to easter eggs on a CV site
📰

Physical UX in Angular, from CSS springs to easter eggs on a CV site

DEV Community: angular·Szj·12 days ago
#iUVfN9rc
#devtoangular#devto#dev#motion#ease
Long article (6503 words) — no AI summary yet.
Reading 0:00
15s threshold

A CV site is a strange thing to over-engineer. Most visitors stay for under a minute. That is exactly why I spent so much time on how mine moves : in a short visit, the feel of the interface is part of the message. A button that gives under your finger and springs back, or a menu selection that glides instead of flickering, says "someone cared" faster than any paragraph.

My thesis: an interface should behave like a small physical world with one set of rules. One material, one gravity, one press, one spring. Those rules should be written down as tokens, checked by the build, and switched off as a set when the user asks for less motion.

This is how I did that on my CV site ( live , source ), a prerendered Angular 22 app with signals and no zone.js. It covers what research and platform guidelines say, what I took from them, where I deviated, the easter eggs I added on purpose, and the bugs that taught me the most.

TL;DR

One material. Every duration, curve, radius and state colour is a CSS custom property.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.