ECL EU Language List Specs


Keywords
ecl, europa-component-library, design-system, component-library, styleguide, ui, ux
License
EUPL-1.1
Install
npm install @ecl/eu-specs-language-list@2.35.0

Documentation

ECL v2 - Europa Component Library

Build Status code style: prettier lerna Netlify Status

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.10.0/ec-preset-website/styles/ecl-ec-preset-website.css"
      integrity="sha256-D76hr+ETQxRcQFuqMRDLhDziqoVkZtGrtpDkJGuuZrs= sha384-KNbbHQwTg/fpxcZNsj70gNGdbzJU26aL/A2APQRur4iWZGkSXyzIjCLUMvCBC/85 sha512-/BQBSyJqRqUuBEQMISO7dtFq7mg331BLG/DZ7XoyYSRqpgAD3n1s8lRYRb6mRdvMoSH4db/XEjghDUZ45hKPPg=="
      crossorigin="anonymous"
      media="screen"
    />
    <link
      rel="stylesheet"
      href="https://cdn1.fpfis.tech.ec.europa.eu/ecl/v2.10.0/ec-preset-website/styles/ecl-ec-preset-website-print.css"
      integrity="sha256-ooOQ+NF+4jyFKTbs0W1QXsmJJnyIPn/kw0OBPoaIjXs= sha384-xYvg6+aj/NkdBHD8ofY0ZQpBi03Aq93ERmmq9uD1vLxy1Hp5ys8JMc2M3f3CtaiI sha512-3vNM8kDmUoHXeYxl4wvYefMlcYT07XZxOWBO19iSibjpaS52i1ZrBqV4oGpZT1hkzlZNvfwZecnsHx6hKHF+lg=="
      crossorigin="anonymous"
      media="print"
    />
    <script
      src="https://cdn1.fpfis.tech.ec.europa.eu/ecl/v2.10.0/ec-preset-website/scripts/ecl-ec-preset-website.js"
      integrity="sha256-5TAbV5Zc4vkWUldTK8bQupMClLaRM8hi7R/G2x2fdRE= sha384-TgYSZsc0xwB7IbQNY+hGCA7BjdPHDP58gnYNusfug9obUk1LzCodPa5Ce5T1nakJ sha512-rGdnHIlveDhhY+5j/OEb9MnGGr6R4QoHvj2xEWGmZM8O20ExTKg2YdtaN+NCcC5z6U/YTTlEkhwNQ744YaOR3Q=="
      crossorigin="anonymous"
    ></script>

Need help?

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

Previous major versions