Prototype Library

Link Column

A footer / sitemap / mega-menu column: heading + thin rule + a list of links. Inherits currentColor (the rule is derived from it), so it reads on a brand footer or a light surface without carrying brand values.

Inherited .astro import EsaLinkColumn from '@esa/ecology/esa-link-column.astro';

On a light surface

<EsaLinkColumn heading="Mitigation work" links={[{ label: 'Projects' }, …]} />

On a brand surface (currentColor)

<div style="background:var(--color-background-brand);color:#fff">
  <EsaLinkColumn heading="Mitigation work" links={[…]} />
</div>

API

PropTypeDefaultDescription
heading string required Column heading.
href string — Optional link on the heading itself.
links LinkItem[] required The list of links.