Skip to main content

organisms

Badge

The fixed top-left button that opens the full-bleed site map, with the build info and a close button.

Specimens

This page already renders the badge, whose dialog has the id "badge-dialog", and the badge starts hidden until scripting reveals it, so a second copy would collide and look blank. Use the badge at the top left of this page.

Params

ParamTypeDescription
logoSvgstringHanko SVG markup for the badge. Without it the badge shows the text “Home”.
pagesarraycollections.all, passed to the site map.
projectsarraycollections.projects, passed to the site map for the Work industry links.
currentUrlstringPassed to the site map.
buildDateDatePassed to the build info.
buildVersionsobjectPassed to the build info.

Notes

The caller passes logoSvg, pages, currentUrl, buildDate, and buildVersions. It replaced the global header on 2026-11-17.