Component · Data · v1.6.0
Repo Widget
A small canonical card showing meaningful state for a Marbl-owned GitHub repository. Two independent axes: visual (--filled solid card or --transparent for sidebars) + action layout (default inline, or --stack-actions to stack vertically full-width). Both demos below use --transparent backgrounds; only the second adds --stack-actions for the sidebar use-case. On mobile (≤768px) both layouts collapse to inline 50/50 equal-width.
Implementation
Drop-in pattern
The partial at ./repo-widget.html uses double-brace placeholders consumed at build time. Each consuming site fetches GitHub API once per build, formats the values, and substitutes. Full placeholder list and a build-time fetch reference snippet live in ./repo-widget.md.