Skip to main content

molecules

Build info

The build date button and its drawer of git, Eleventy, Sanity, and Figma versions, shown in the badge's site map.

Specimens

The drawer is absolutely positioned behind the header, starts hidden until the choreography bundle opens it, and uses a fixed id the header already emits, so a live specimen would collide.

Params

ParamTypeDescription
buildDateDateBuild timestamp. Used for the datetime attribute and shown formatted.
buildVersionsobjectgit (sha, branch, dirty), eleventy, sanity, and figma (fileId). Missing git or Figma values leave their cell empty.
classesstring, variant map, or arrayApplied to the root <div> through classes, after a contents flex baseline.

buildVersions is built from the installed package manifests, git at build time, and the @figma header that build:design writes into styles/colors.css. The Figma value reflects the last token sync, not live Figma state.

Notes

Pass buildDate and buildVersions as the base layout does, from the buildDate and buildVersions data. Docs pages don't load the choreography bundle, so the drawer would stay closed.