My site’s moved CMS and servers. If you spot a problem, let me know.

Stuff & Nonsense product and website design

Making my view options toolbar more intuitive

The view options toolbar at the bottom of my animated banners has irked me for a while. It had grown one button at a time, and the result looked ill-considered rather than designed. With a few minutes to spare at the end of last week, I finally redesigned it.

The view options toolbar before my redesign

When I first made my current SVG animated banners, I wanted to let people switch off the animations, so I added a play/pause button. Over the past few months, I added a winter theme, then a spring theme, and a character-collecting card game. What started out as play/pause became a toolbar.

Not much affordance showing which options were active

Those animation and theme toggles weren’t clear enough, and there was little affordance showing which options were on or off. So I added new icons to represent the different states.

New icons to show which options are active

With a contrasting background colour, the button states are now much clearer to recognise:

#animation-controls .btn[aria-pressed="true"] {
background-color: oklch(0.6664 0.12 239.96); }

I was already using aria-pressed to describe each button’s state, so I used that same attribute as the styling hook:

Clearer state for the play/pause toggle

It’s also now much more obvious whether the spring or winter themes are active.

Clearer state for the spring and winter themes

Now the buttons looked like a more cohesive collection, I wanted to group them into an unintrusive toolbar that wouldn’t obscure the illustrations behind it.

#animation-controls {
background-color: rgba(0,0,0,.25);
backdrop-filter: blur(5px);
scale: .65; }
#animation-controls:hover,
#animation-controls:focus-within {
box-shadow: inset 0 0 10px oklch(0.6664 0.12 239.96);
scale: 1; }
Inner shadow appears when the toolbar grows

These are subtle changes, but they scratch an itch that’s been there for a while.

The view options toolbar after my redesign

May 2, 2026 • Andy Clarke • design

You might also like

Shop

Eleventy in a Box

A premium Eleventy starter kit for designers and developers who want to spend less time setting up the same project structure and more time designing distinctive websites.

Shop

Layout ❤︎

Free compound grid and modular grid layout generators, plus a set of HTML/CSS layout templates you can call on to make more interesting layouts, available to buy.