Ross ROSS = Recommend OSS · open-source software intelligence for agents

GitHub Elements

GitHub's Web Component collection. observed · 2026-08-28

github.com/github/github-elements · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

57/100

  • Activity 56
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2990
  • days_rel: n/a
  • days_push: 268
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2906 stars · 67 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

GitHub Elements is a collection of web components from GitHub, including the <relative-time> custom element that extends the standard <time> element. It formats timestamps as localized strings or auto-updating relative text in the browser, letting servers cache HTML while clients localize dates.

Use cases

  • display relative timestamps like '5 minutes ago' that auto-update
  • localize dates to the user's timezone and locale in the browser
  • serve cacheable server-rendered HTML containing dates
  • format timestamps with a 24-hour clock per browser settings
  • show fallback date text when JavaScript is disabled
  • render durations and relative dates in web apps

When to choose

  • you want localized, timezone-aware date display without server-side per-user rendering
  • you need cacheable HTML fragments that still display correct dates per user
  • you're building with web components or custom elements
  • you want progressive enhancement with a plain-text fallback

When to avoid

  • you need to support legacy browsers without Intl.DateTimeFormat/RelativeTimeFormat and can't polyfill
  • your framework already handles date localization and you don't use web components
  • you need heavy date manipulation/parsing rather than display formatting

Facets

library · maturity active

ui-components internationalization date-time templating web-development frontend browser web-components custom-elements relative-time timezone github-elements localization nodejs javascript

2 sources

Member repositories

RepositoryRoleHealth v2
github/github-elementsmain57
github/relative-time-elementplugin94

For agents

markdown · JSON · MCP: product_card(name="github/github-elements")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem