1. Emil Kowalski (@emilkowalski): AI for UI & Agent-Consumable Design Skills
Inside Emil Kowalski's AI for UI breakthrough: Why the next wave of design systems ships declarative skills for AI coding agents, and how spring physics defeat artificial CSS easing curves.

1. Emil Kowalski (@emilkowalski): AI for UI & Agent-Consumable Design Skills
"You can now also ask your agent to buy AI for UI for you. Once it's purchased, it installs the skills that come with the course and starts using them on your app right away. This way you get value instantly and can go through the lessons yourself later."
โ Emil Kowalski, Design Engineer (Linear, ex-Vercel)
๐ก The Core Thesis
As AI coding agents become ubiquitous in engineering workflows, the barrier to generating working UI has dropped to near zero. But the barrier to creating memorable, tactile, and mathematically precise interfaces has never been higher.
Emil Kowalski's core contribution to design engineering is bridging the gap between raw functional components and high-craft kinetic physics. His latest breakthrough, AI for UI, introduces 28 core skills packaged not just as human tutorials, but as declarative skill definitions that AI agents can consume and execute inside modern React codebases.
๐ ๏ธ Key Design Engineering Patterns
1. Spring Physics Over Duration Easing
Traditional CSS transitions using ease-in-out with hardcoded millisecond durations feel artificial because physical objects do not stop based on clock ticks; they settle based on mass, stiffness, and damping ratio:
$$\omega_d = \sqrt{\frac{k}{m} - \zeta^2}$$
// Declarative spring configuration for responsive tactile feedback
export const TACTILE_SPRINGS = {
// Snappy hover feedback for buttons and pills
snappy: {
stiffness: 400,
damping: 30,
mass: 0.8,
},
// Smooth sheet and modal dismiss gesture
sheet: {
stiffness: 300,
damping: 35,
mass: 1.2,
},
// Subtly elastic toggle switch
toggle: {
stiffness: 500,
damping: 25,
mass: 0.5,
},
};2. Layout Transitions & Shared Element Layouts
Instead of unmounting and remounting DOM elements abruptly, Emil advocates for continuous shared-element bounding box morphing:
- Use
layoutIdwith zero-layout-shift bounding rect projections. - Prevent content distortion by nesting inner content with
layout="position". - Never animate width/height directly; animate
transform: scale()with CSS transforms and counteract distortion with inverted child scales.
import { motion, AnimatePresence } from 'framer-motion';
import { useState } from 'react';
export function SegmentedControl({ tabs }: { tabs: string[] }) {
const [activeTab, setActiveTab] = useState(tabs[0]);
return (
<div className="relative flex rounded-xl bg-zinc-900 p-1 border border-zinc-800">
{tabs.map((tab) => {
const isActive = activeTab === tab;
return (
<button
key={tab}
onClick={() => setActiveTab(tab)}
className={`relative z-10 px-4 py-1.5 text-xs font-medium transition-colors ${
isActive ? 'text-white' : 'text-zinc-400 hover:text-zinc-200'
}`}
>
{isActive && (
<motion.div
layoutId="activeTabBadge"
className="absolute inset-0 z-[-1] rounded-lg bg-zinc-800 shadow-sm border border-zinc-700/50"
transition={{ type: 'spring', stiffness: 450, damping: 32 }}
/>
)}
{tab}
</button>
);
})}
</div>
);
}๐งต Ready-to-Post Tweet Thread
1/4 ๐จ Why Emil Kowalski's (@emilkowalski) "AI for UI" represents the future of design engineering:
It's not just a course for humans. It ships with 28 declarative agent skills that your AI pair programmer can install and apply to your React repo instantly.
2/4 Stop using transition: all 0.3s ease-in-out.
Human perception craves kinetic momentum. Real-world objects have mass, stiffness, and damping. Use spring physics (stiffness: 400, damping: 30) to make every toggle, drawer, and tab feel alive.
3/4 The secret to distortion-free layout animations:
Never animate CSS width and height directly. Use GPU-composited transform scale and counteract aspect ratio warping with inverted child scale projections.
4/4 High-craft UI is the only moat left against generic AI web templates.
Follow @emilkowalski for masterclasses on micro-interactions, shaders, and UI polish.๐ How to Follow & Stay Current
- X Handle: @emilkowalski
- Key Themes: Framer Motion, Spring Physics, Design Engineering, Micro-interactions, AI for UI.
- Top Hashtags:
#DesignEngineering#UI#React
Discussion (0)
Continue Reading
More production-grade engineering deep dives and architectural guides

The Gemini Decisions API: Architecting a Deterministic Decision Service on a Probabilistic Model
A Hacker News thread argued about whether an LLM belongs on the critical path of a business decision. This is the production reference architecture that settles the argument: schema-bound structured output, bounded tool loops, deterministic policy gates, and a latency budget you can defend in a design review.

Brotli vs. Zstandard vs. Gzip at 1 PB/Month: Measured Ratios, CPU Seconds per GB, and the Real CDN Bill
At petabyte scale, compression is no longer a config flag โ it is a P&L line item. Here are the measured ratios, real CPU-seconds-per-GB numbers, and the break-even cache-hit math that decides whether Brotli q11 pays for itself or quietly bankrupts your origin.

Micro-Frontends at 5,000 Routes: Module Federation vs single-spa vs Web Components, Measured
We rebuilt the same 5,000-route enterprise shell three times โ Module Federation 2.0, single-spa, and native Web Components โ and measured p95 route transitions, marginal memory per mounted remote, duplicated vendor bytes, and the fully loaded cost of 1M deployments. The results invert most vendor claims: the fastest architecture on cold start is the one that duplicates the most code.