eds-trl-badge

Overview

EdsTrlBadge — public EBRAINS TRL badge, aligned with the EBRAINS visual system (Black #07140D, Green #00FF9D, Dark Green #00C87B, Grey #7A7B7A, IBM Plex Mono) and using the official EBRAINS sphere mark.

Renders a self-contained inline <svg> (same markup the server-side badge.svg endpoint emits), so it embeds anywhere and stays crisp.

Variants:

  • tone — CI-style label + value pill (dark or light theme).
  • full — single bar with the full string.
  • pill — compact rounded “TRL 7”.
  • outline — thin border, transparent fill, mono caps (dark or light).
  • scale — nine readiness pips showing position on the 1–9 scale.

The value/pip colour encodes maturity within the brand palette: TRL 7–9 → green, 4–6 → dark green, 1–3 → grey.

Properties

PropertyAttributeDescriptionTypeDefault
assessedassessedAssessment month, e.g. “2026-06”.stringundefined
hrefhrefOptional link (methodology or service page).stringundefined
labellabelLeft-segment / leading label.string'EBRAINS TRL'
level (required)levelTRL level, 1–9.numberundefined
methodologymethodologyMethodology version, e.g. “v8.2”.stringundefined
sizesizeRendered height in px. Scales the whole badge crisply (viewBox is fixed).numberundefined
themethemeColour theme for the tone / outline / scale variants."dark" | "light"'dark'
variantvariant’tone’ | ‘full’ | ‘pill’ | ‘outline’ | ‘scale’."full" | "outline" | "pill" | "scale" | "tone"'tone'

Built with StencilJS