@ecl/generic-component-message

1.5.0 • Public • Published

Messages

Why and how to use this component

Provide contextual feedback messages for typical user actions with the available flexible alert messages.
These includes errors, warnings, and general updates. For each kind of warning we use an icon and a specific colour.

When to use this component

Status Colour Usage
Success EC Green N Forms / Page notification (bellow the page header)
Informative EC Blue N Forms / Page notification (bellow the page header)
Warning EC Orange N Forms / Page notification (bellow the page header)
Error EC Red N Forms / Page notification (bellow the page header)
Live stream EC Orange N Pages with livestream content (bellow the page header)

When not to use this component

  • to include notifications that aren't related to the user's current goal
  • but don't overdo it — too many notifications will either overwhelm or annoy the user and are likely to be ignored

/@ecl/generic-component-message/

    Package Sidebar

    Install

    npm i @ecl/generic-component-message

    Weekly Downloads

    133

    Version

    1.5.0

    License

    EUPL-1.1

    Unpacked Size

    14.6 kB

    Total Files

    21

    Last publish

    Collaborators

    • papegaill
    • yhuard
    • kalin.chernev
    • weslito
    • emeryro
    • planctus