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
| Param | Type | Description |
|---|---|---|
buildDate | Date | Build timestamp. Used for the datetime attribute and shown formatted. |
buildVersions | object | git (sha, branch, dirty), eleventy, sanity, and figma (fileId). Missing git or Figma values leave their cell empty. |
classes | string, variant map, or array | Applied 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.