Zero-Dependency Web Components · ES2022 JavaScript

@micropasts/authority-card

Turn persistent cultural heritage URIs (Pleiades, Wikidata, Getty AAT/TGN/ULAN, Nomisma) into cached hover popovers or synchronized inspector panels.

1. Tailwind CSS Light-DOM (<authority-card-tw>)

hover or click

Excavations at Verulamium in the territory of the Catuvellauni recovered a silver denarius minted under Augustus and catalogued under denarii (Getty AAT) .

2. Shadow DOM + CSS Variables & ::part() (<authority-card>)

custom theme

Styled via CSS custom properties and ::part(title) without touching component internals: Londinium and London (Getty TGN) .

3. Custom Endpoint Adapter (Historic England NHLE)

registerAdapter()

Plug in institutional or local datasets in 10 lines of JS—for example, Verulamium Roman Town (NHLE 1003516) .