2.39.0 • Published 3 years ago

@ecl/ec-component-menu v2.39.0

Weekly downloads
112
License
EUPL-1.1
Repository
github
Last release
3 years ago

ECL v2 - Europa Component Library

Build Status code style: prettier lerna

The Europa Component Library (ECL) is a library of components applicable to all European Commission websites (hosted under ec.europa.eu domain). The library contains all available components which you can use to build your website.

The Digital Transformation team (DTT) - a cross European Commission team led by DGs COMM, DIGIT, and DTT - is the owner of this library.

All library elements are accompanied with

  • documentation: what the component is intended for and recommendations regarding its usage
  • demo: visual representation of the component
  • code: technologically agnostic HTML/CSS code for implementation

Documentation

Read the technical documentation on GitHub.

Quick start

The ECL is bundled in various presets in order to accomodate the different needs of everyone. Once you know which preset you want to use, you can:

  • download the latest release of the preset of your choice
  • install the preset with npm or yarn, e.g. npm install @ecl/ec-preset-website or yarn add @ecl/ec-preset-website
  • use the CDN, https://cdn{1,2,3 or 4}.fpfis.tech.ec.europa.eu/ecl/{tag}/{preset}/{path/to/the/asset}. Here's an example:

    <link
      rel="stylesheet"
      href="https://cdn1.fpfis.tech.ec.europa.eu/ecl/v2.19.0/ec-preset-website/styles/ecl-ec-preset-website.css"
      integrity="sha256-cY/ZgdgjhzknIJ7HASLU8TclhtZi24mOnVrZLe/swHs= sha384-r6JFzquBnlAads0lWxTzTQPcoCXYuLpjbXWzHYTcmO9L3iPfd+TFyn7fyBesCHlt sha512-0vEETlCJ001fXGpF8mZ1vrCOzeAe3QB6K/UY9ctEgq/MUXO6n9ITDlfMuLD8ao15KM5y4LlUAMCPh0ugujBwlQ=="
      crossorigin="anonymous"
      media="screen"
    />
    <link
      rel="stylesheet"
      href="https://cdn1.fpfis.tech.ec.europa.eu/ecl/v2.19.0/ec-preset-website/styles/ecl-ec-preset-website-print.css"
      integrity="sha256-gT5HO+MQBO+XqPaTYtFiEfJ2kExbl0Wueg7Z04bzXMQ= sha384-6QTQCgZvrWrRVZsrnLrjt9gJsXPNI/2TtlbKHKJ0WVEfSC1wKTr5fIIVNoACnX5o sha512-UY0ybpgXtrJFDjmAU63C7t/rnlf86JqqcP0DclLvsnFLLeLZlZ7BsDLu7B8meZOAWFpWoqzbFri1ApWcxIOtiw=="
      crossorigin="anonymous"
      media="print"
    />
    <script
      src="https://cdn1.fpfis.tech.ec.europa.eu/ecl/v2.19.0/ec-preset-website/scripts/ecl-ec-preset-website.js"
      integrity="sha256-SR+4Ka+C0WiEod5X351TrRi70f0tdfLBPXWOxg5yB3g= sha384-OxUsLkodD2Lr9LofKU/BKcH3AsOmw4eSU6P/4FiwsuPFZj76tVs1UQ/0ESsWwEUp sha512-yHezIFmJPNcTjFdC3VFzq659JdiVa2DyNPyCOMvAyTvxCLK0DlmUZNIIvb0so7fF6MlI6qhMemL+G+q2Jc3JkA=="
      crossorigin="anonymous"
    ></script>

Need help?

Please contact COMM Europa Management for support on using this resource for a European Commission website.

Previous major versions

2.39.0

3 years ago

2.38.0

3 years ago

2.37.0

3 years ago

2.36.0

3 years ago

2.35.0

3 years ago

2.34.0

4 years ago

2.33.1

4 years ago

2.33.0

4 years ago

2.32.0

4 years ago

2.31.0

4 years ago

2.30.0

4 years ago

2.29.0

4 years ago

2.28.0

4 years ago

2.28.3

4 years ago

2.27.0

4 years ago

2.26.0

4 years ago

2.25.0

4 years ago

2.24.0

4 years ago

2.23.0

4 years ago

2.22.1

4 years ago

2.22.0

4 years ago

2.21.0

4 years ago

2.20.0

4 years ago

2.19.0

4 years ago