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.

3 posts in the last 90 days · newest 11 Oct

6 of 6 posts on this page

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