@ecl/eu-component-form-feedback-message

ECL EU Feedback messages


Keywords
ecl, europa-component-library, design-system, component-library, styleguide, ui, ux
License
EUPL-1.1
Install
npm install @ecl/eu-component-form-feedback-message@2.39.0

Documentation

ECL v3 - Europa Component Library

Build Status code style: prettier lerna

The Europa Component Library (ECL) is a library of components applicable to all European Commission and European Union websites. The library contains all available components which you can use to build your website.

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 and twig implementation

Requirements

ECL is using Fermium, node v14 but it keeps compatibility with Erbium, node v12. Please ensure a match before proceeding with the installation of ECL dependencies or ones in ECL Builder.

Documentation

Read the technical documentation on GitHub.

Migrate from v2

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/preset-ec or yarn add @ecl/preset-ec

  • use the CDN, https://cdn{1,2,3 or 4}.fpfis.tech.ec.europa.eu/ecl/{tag}/{system}/{path/to/the/asset}. Here's an example:

    <link
      rel="stylesheet"
      href="https://cdn1.fpfis.tech.ec.europa.eu/ecl/v3.4.1/ec/styles/optional/ecl-ec-default.css"
      integrity="sha256-WK5hy3Ceb1aNnKy15Bp5KW+CVYBmHb4hmJ1Pdt3TbIM= sha384-iyE8X71QP2Onrns7/f6OaYbZwh9QNaZgsi67Ekxg0ZsrNfsGM6J+BwwzedVsFDCU sha512-yCHEUFMoDLvDD+ApVHf7puJTWoaLj253KyvIkhXq/9W+4nPwAXVYPjNt3e3b0NCTwQpYrnG5pFtiEbHt/gc6qA=="
      crossorigin="anonymous"
      media="screen"
    />
    <link
      rel="stylesheet"
      href="https://cdn1.fpfis.tech.ec.europa.eu/ecl/v3.4.1/ec/styles/optional/ecl-reset.css"
      integrity="sha256-UVESELfX0pvRysLCqyLCIEQDAc65AXBPfES9hWP/fgM= sha384-N/3iMSD+OnxEDiOT9DYnD+5MkkgqqmxkA2MEMovZXWLGVZHtohQ6z7aBbRntIA5A
      sha512-b/etPAmM0XEmjQuF/zMEIuwQVaFEYOTM4pl5Y1xJZ6xMde2oxP5tldgQ1/lU3azQNiA/e/JB+X5QAmRbwZEjqw=="
      crossorigin="anonymous"
      media="screen"
    />
    <link
      rel="stylesheet"
      href="https://cdn1.fpfis.tech.ec.europa.eu/ecl/v3.4.1/ec/styles/ecl-ec.css"
      integrity="sha256-VLpAKlo85TEtUcWazHxBoDZavge0QuMsrU3jE64Na1k= sha384-UJZUxjw131QsMW2hSpFMD8Apnl9XoP16fIQY17WBfiiEhJJP+l5pDrUCR/M6eC4+
      sha512-9C80DLJPlL6WEUc/qU++B4JBa/OoYf+LKuNm4Q2XTi449d/bcjmNS+Cu5WZP+MvYklAh9STvmP5wih8iCQRRVQ=="
      crossorigin="anonymous"
      media="screen"
    />
    <link
      rel="stylesheet"
      href="https://cdn1.fpfis.tech.ec.europa.eu/ecl/v3.4.1/ec/styles/ecl-ec-print.css"
      integrity="sha256-QzATuL8r4ZY0kLFaAkxMmX4VIL2KxvSS0aG74lG5fsQ= sha384-sDtYsEERk55fwaUklj0Z4+Mo6x6vp+cMVCZ+ZI7UOQH/mFE0OWg5HWTU2Ui1lR7g
      sha512-nrIFufAnDOTKV+lVM/bI2XSAPpiY1DZjAYTLoUnGSJTkWy7GYMBYDfJvgXXUSgyG4epSnSNZ3rGHkZF3DbLbvA=="
      crossorigin="anonymous"
      media="print"
    />
    <script
      src="https://cdn1.fpfis.tech.ec.europa.eu/ecl/v3.4.1/ec/scripts/ecl-ec.js"
      integrity="sha256-WWTwQseyv8+i6bgq3MPCim/seztSFPBM/CHAlBz4eVk= sha384-5ja61/fSfryv+YG6s2oAW9y4B7Qx1lfrYj9R8F4EKmczrd4g4u9cl/eR7+V2Yz5y
      sha512-rnLRRpkiCNIEBgZmx4PMKy63nrpjiHYM6hSoRAh5xmSv29zLL6BMxUL1+n5+mU4ozV+Uo1VoPBb4jOTUBvcKDw=="
      crossorigin="anonymous"
    ></script>

⚠️ moment.js

ECL uses Pikaday which requires moment.js and this library is not bundled by ECL. Therefore moment.js needs to be loaded or bundled by the application or website using ECL, depending on the needs.

Need help?

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

Previous major versions