~/todd-fleeman/case-study — session log entry

~/Hanging Card

·
Minnie
why this exists

A hang tag for Betwixt's Radio neighborhood. It's a hand-drawn SVG with a DJ character tucked into the window, swinging gently from its string. I built it here first, outside the Betwixt codebase, to work out the layering and motion before it went live.

built on / learned
HTML5
Graphics
Learned
  • SVG as a component. The tag is an Illustrator export pulled in through SVGR using Turbopack import attributes, right at the import site, with no webpack config. It stays a real SVG I can style, not a flat image.
  • Positioning in the art's own units. The character's window is placed with percentages taken from the SVG's viewBox, and the card keeps that viewBox's aspect ratio. So the character stays in the window at any size.
  • Swing from the nail. Setting transform-origin to the top of the string makes a simple rotation look like a hanging sway. Reduced-motion users get a still tag.
  • Reading another project's content. The DJ comes from Betwixt's Sanity through a second client, so Retrograde can show live Betwixt characters without copying the data.
where this might go

Collectibles. Every Betwixt resident gets a hang tag, and kids collect them the way you'd collect trading cards: find one on a resident's page, tap it, and it's yours. A full set of a neighborhood unlocks something like a song, a secret, or a map pin. The same art could be printed on real tags tied to Betwixt merch, each with a code that opens that character's page, so the physical tag and the digital one match.