eds-footer

Explore the Interactive Component

Use the playground below to experiment with the component. Click the button to view the full Storybook deployment for additional examples and configurations.

See It in Use with Code

Check out this practical implementation of component.

In HTML

In React and Vue

Overview

EdsFooter is a footer component designed for the EBRAINS platform, featuring social links, legal information, and an optional cookie preferences button. It includes a “Back to top” button and displays an acknowledgment for Horizon Europe funding.

Key Features:

  • Social Network Links: Optionally display a section for social media links.
  • Legal and Funding Information: Includes text for legal disclaimers and funding acknowledgments.
  • Cookie Preferences: Optionally display a “Cookies Preferences” button.
  • Back to Top Button: Smoothly scrolls the page back to the top when clicked.

This component is ideal for maintaining consistent branding, legal disclaimers, and navigational elements across the EBRAINS platform, with options for social links and a “Back to top” button.

Properties

PropertyAttributeDescriptionTypeDefault
backToTopAriaLabelback-to-top-aria-labelControls the display of the “Back to Top” aria label text.string'Back to Top'
cookiesPreferencescookies-preferencesControls the display of the “Cookies preferences” text.string'Cookies preferences'
enableCookiesSettingsenable-cookies-settingsControls the display of the “Cookies preferences” link.booleanfalse
enableScrollTopenable-scroll-topControls the display of the “Back to Top” button. When true, the button appears in the footer.booleanfalse
fundedByfunded-byControls the display of the “Founded By” text.string'EBRAINS is funded by the Horizon Europe Framework Programme.'
rightsReservedrights-reservedControls the display of the “Rights Reserved” text.string${new Date().getFullYear()} EBRAINS. All rights reserved.
socialsocialDetermines if the social network section should be displayed. Adds top padding when true.booleanfalse
variantvariantControls the visual variant of the footer. - ‘default’: Light background with dark text - ‘inverse’: Dark/black background with white text"default" | "inverse"'default'

Events

EventDescriptionType
cookiesCustomEvent<any>

Dependencies

Used by

  • eds-fullscreen-menu

Depends on

Graph

graph TD;
  eds-footer --> eds-social-networks
  eds-footer --> eds-link
  eds-footer --> eds-button
  eds-social-networks --> eds-link
  eds-link --> eds-icon-wrapper
  eds-button --> eds-icon-wrapper
  eds-fullscreen-menu --> eds-footer
  style eds-footer fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS