Blog

tagshift: from <template> to a component

A small library that turns a plain <template> into a class: ${props} placeholders in text and attributes, slots that follow the Shadow DOM rules, and a render() that updates the same element in place. No dependencies, no build step, no virtual DOM.

How a folder of SVGs becomes a font

icofon takes a folder of SVGs and builds an icon font, a stylesheet and a preview page. What happens to a drawing on its way from SVG to glyph, where the tool runs into the limits of the format, and why codepoints can't be handed out fresh on every build.