🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@ewc-lib/ewc-footer-links

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ewc-lib/ewc-footer-links

One line w/ a feedback link on the left side and legal links (etc.) on the right side.

latest
npmnpm
Version
2.1.1-alpha
Version published
Maintainers
0
Created
Source

One line w/ a feedback link on the left side and legal links (etc.) on the right side.

Overview

The ewc-footer-links component provides a standardized footer for Eurostat web applications. It offers a consistent visual identity across Eurostat digital products.

Features

  • Responsive design
  • Accessibility compliant

Screenshot

Screenshot

API

AttributesPropertiesDefault valueDescription
text-JS object. props are all attributes listed below. Can also be used to set just 1 single text.
emailestat-user-support@ec.europa.eu
subjectEurostat%20support
feedbackFeedback
feedback-urlmailto:estat-user-support@ec.europa.eu
cookiesCookies
cookies-urlhttps://commission.europa.eu/cookies-policy_en
privacy-policyPrivacy policy
privacy-policy-urlhttps://commission.europa.eu/privacy-policy-websites-managed-european-commission_en
legal-noticeLegal notice
legal-notice-urlhttps://commission.europa.eu/legal-notice_en
accessibilityAccessibility
accessibility-urhttps://ec.europa.eu/eurostat/web/main/help/accessibilit

Note: changing these attributes during runtime will update the href and change the link.

Margin borders

The distance to the left and the right viewport borders default to "5%" and can be set via CSS.

For example:

ewc-footer-links{padding: 0 16px 0 16px;}

Usage

Installation

npm install @ewc-lib/ewc-footer-links

Import the component in your application:

// Using ES modules
import "@ewc-lib/ewc-css-common/custom-props.css";
import '@ewc-lib/ewc-footer-links';

Then the element can be used like this

<div style="width:100%;">
  <style>ewc-footer-links {padding: 0 20px 0 20px;}</style>
  <ewc-footer-links
    email="some-email-address@somewhere.earth"
    subject="This is the eMail's subject">
  </ewc-footer-links>
</div>

Notes

Accessibility

The component is designed with accessibility in mind:

  • Keyboard navigable element
  • Sufficient color contrast

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

License

European Union Public License (EUPL)

Changelog

  • 2.1.1-alpha

    • correct mistake in usage examples
    • increase encapsulation
  • 2.1.0-alpha

    • add setter, docu and usage examples

FAQs

Package last updated on 25 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts