Variable Font Subset

Fonts tend to affect UX when loading web pages quite a bit: they’re usually loaded asynchronously with the rest of HTML and applied after the initial render, resulting in unpleasant text “twitching” after applied; alternatively, it’s possible to delay the...

React Focus Trap

Working on a React app I had to implement a behaviour where tab navigation would loop between focusable elements inside a container. By default, web browsers switch the focus between all the interactable elements on page (such as <a>, <input>...