Skip to content
← All sources

Lea Verou

Blog by Lea Verou

Mute Lea Verou?

Its posts will be hidden from Latest, topic feeds and Favourites in this browser.

Your saved links, read history and favourite selection stay unchanged. You can still open the source’s own page.

Unmute it here or in Reading preferences whenever you like.

Web standards, CSS and the engineering of usable interfaces.

4 posts in the last 90 days · newest 19 Nov

8 of 8 posts on this page

Lea Verou

Nudeps: bundler-like imports, none of the baggage

The goal is light-build, not no-build You npm install a package (e.g. vue), you write import { createApp } from "vue", and it works — as long as there is a bundler in between. Without one, the browser has no idea what "vue" is: it only understands URLs, and node_modules/ was…

8 min read

Lea Verou

Candidate Statement for the 2026 W3C TAG Election

I had the great honor of being elected to the TAG by the W3C membership in 2020 and again in 2022, serving two terms from 2021 to 2025. After a two-year break, this year I’m running to return, thanks to Google, Microsoft, and OpenJS Foundation pooling resources to make it…

4 min read

Lea Verou

The best way to use icons in Web UIs

TL;DR? Jump to demo I’ve always had a soft spot for icons. Not only do they add polish to a UI, they can also tangibly improve usability. Familiar icons help users find what they need quickly, since we recognize pictures much faster than we read words. And as a web architect at…

26 min read

Lea Verou

The best dark mode toggle is probably none

About a month ago, I wrote an article recommending that if you are going to have an always visible control for switching between light and dark mode, it should be a two-state toggle that alternates between system and whatever the current opposite of system is, not a tri-state…

18 min read

Lea Verou

Dark mode toggles: two states are enough

Until recently, if you looked at most websites with a theme toggle, you’d find three options: Light, Dark, and System. Thankfully, these days the trend has shifted towards a simpler two-state toggle, but tri-state ones are still incredibly common. The rationale sounds…

12 min read

Lea Verou

In defense of polyfills

If you’re a web developer, you may find the title baffling. “Polyfills need defending? Who’s against them?!” you might ask. Two weeks ago, I’d be in the same boat. Polyfills and I go way back. I dug up a JSConf EU talk of mine from 2011 on exactly this topic. One of the few…

18 min read

Lea Verou

External import maps, today!

A few weeks ago, I posted Web dependencies are broken. Can we fix them?. Today’s post is a little less gloomy: Turns out that the major limitation that would allow centralized set-it-and-forget-it import map management can be lifted today, with excellent browser support! The…

5 min read

Lea Verou

Web dependencies are broken. Can we fix them?

Abstraction is the cornerstone of modern software engineering. Reusing logic and building higher-level solutions from lower-level building blocks is what makes all the technological wonders around us possible. Imagine if every time anyone wrote a calculator they also had to…

19 min read