Buttons and popovers that feel right
Give Claude a component and it applies Emil Kowalski's rules for press states, popovers and tooltip timing.
See it work
You give it
.btn { transition: all 300ms ease-in; } .btn:hover { transform: scale(1.1); } .dropdown { transform-origin: center; animation: pop 300ms ease-in; } @keyframes pop { from { transform: scale(0); } } Review this.
You get back
| Before | After | Why |
| --- | --- | --- |
| `transition: all 300ms ease-in` | `transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out)` | Name the properties; `all` animates things you didn't mean to. `ease-in` starts slowly, so the button feels late. |
| `.btn:hover { transform: scale(1.1) }` | a colour change on hover only | A 10% grow on hover makes the button jump under the cursor. |
| no `:active` state | `.btn:active { transform: scale(0.97) }` | Buttons must respond the moment they're pressed. |
| `transform-origin: center` on `.dropdown` | `transform-origin: var(--transform-origin)`, set from the trigger's position | A dropdown should grow out of the button that opened it. |
| `from { transform: scale(0) }` | `from { transform: scale(0.95); opacity: 0 }` | Nothing in the real world appears from nothing. |
| `animation: pop 300ms ease-in` | a 150 to 200ms transition with `ease-out`, entering with `@starting-style` | Dropdowns open often, so keep them short, and a transition can be interrupted where keyframes can't. |
Define `--ease-out` once, for example `cubic-bezier(0.23, 1, 0.32, 1)`, and reuse it everywhere.
Run in Claude (Opus 5.5), Nov 2026
What it does
- Decides whether something should animate.
- Makes buttons react the moment you press.
- Opens popovers from where you clicked.
What's inside
emil-design-eng/CREDITS.mdemil-design-eng/LICENSEemil-design-eng/SKILL.md
How you use it
- Get the skill: one zip file. It comes with every paid plan.
- Add it to Claude. In Claude, open Customize (Plugins on newer screens), then Skills. Press +, then Create skill, then Upload a skill. In Claude Code, unzip it into ~/.claude/skills/ instead.
- Start a new chat and tell Claude what you need, the way the example above does. The skill takes it from there.
- Then ask for the work. Claude reaches for the skill when it fits, or name it: "use emil-design-eng".
Get this skill with a paid plan
The download comes with every paid plan, along with all 204 Claude skills and the rest of the AI toolkit. “Sites that don't look templated” in this folder is free, so you can try one first.