Information
<div class="ecl-notification ecl-notification--info" data-ecl-notification role="alert" data-ecl-auto-init="Notification"><svg class="ecl-icon ecl-icon--m ecl-notification__icon" focusable="false" aria-hidden="false" role="img"> <title>Information</title> <use xlink:href="/dist/media/icons.aa842b0d.svg#information"></use> </svg> <div class="ecl-notification__content"><button class="ecl-button ecl-button--tertiary ecl-notification__close" type="button" data-ecl-notification-close><span class="ecl-button__container"><span class="ecl-button__label" data-ecl-label="true">Close</span><svg class="ecl-icon ecl-icon--s ecl-button__icon" focusable="false" aria-hidden="true" data-ecl-icon> <use xlink:href="/dist/media/icons.aa842b0d.svg#close-filled"></use> </svg></span></button> <div class="ecl-notification__title">Information notification</div> <div class="ecl-notification__description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam accumsan semper lorem, ac mollis lacus tincidunt eu. Duis scelerisque diam eu tempus fringilla.</div> </div> </div>
Try it yourself on the playground
PlaygroundSuccess
<div class="ecl-notification ecl-notification--success" data-ecl-notification role="alert" data-ecl-auto-init="Notification"><svg class="ecl-icon ecl-icon--m ecl-notification__icon" focusable="false" aria-hidden="false" role="img"> <title>Success</title> <use xlink:href="/dist/media/icons.aa842b0d.svg#success"></use> </svg> <div class="ecl-notification__content"><button class="ecl-button ecl-button--tertiary ecl-notification__close" type="button" data-ecl-notification-close><span class="ecl-button__container"><span class="ecl-button__label" data-ecl-label="true">Close</span><svg class="ecl-icon ecl-icon--s ecl-button__icon" focusable="false" aria-hidden="true" data-ecl-icon> <use xlink:href="/dist/media/icons.aa842b0d.svg#close-filled"></use> </svg></span></button> <div class="ecl-notification__title">Success notification</div> <div class="ecl-notification__description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam accumsan semper lorem, ac mollis lacus tincidunt eu. Duis scelerisque diam eu tempus fringilla.</div> </div> </div>
Try it yourself on the playground
PlaygroundWarning
<div class="ecl-notification ecl-notification--warning" data-ecl-notification role="alert" data-ecl-auto-init="Notification"><span class="ecl-notification__icon-background"></span><svg class="ecl-icon ecl-icon--m ecl-notification__icon" focusable="false" aria-hidden="false" role="img"> <title>Warning</title> <use xlink:href="/dist/media/icons.aa842b0d.svg#warning"></use> </svg> <div class="ecl-notification__content"><button class="ecl-button ecl-button--tertiary ecl-notification__close" type="button" data-ecl-notification-close><span class="ecl-button__container"><span class="ecl-button__label" data-ecl-label="true">Close</span><svg class="ecl-icon ecl-icon--s ecl-button__icon" focusable="false" aria-hidden="true" data-ecl-icon> <use xlink:href="/dist/media/icons.aa842b0d.svg#close-filled"></use> </svg></span></button> <div class="ecl-notification__title">Warning notification</div> <div class="ecl-notification__description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam accumsan semper lorem, ac mollis lacus tincidunt eu. Duis scelerisque diam eu tempus fringilla.</div> </div> </div>
Try it yourself on the playground
PlaygroundError
<div class="ecl-notification ecl-notification--error" data-ecl-notification role="alert" data-ecl-auto-init="Notification"><svg class="ecl-icon ecl-icon--m ecl-notification__icon" focusable="false" aria-hidden="false" role="img"> <title>Error</title> <use xlink:href="/dist/media/icons.aa842b0d.svg#error"></use> </svg> <div class="ecl-notification__content"><button class="ecl-button ecl-button--tertiary ecl-notification__close" type="button" data-ecl-notification-close><span class="ecl-button__container"><span class="ecl-button__label" data-ecl-label="true">Close</span><svg class="ecl-icon ecl-icon--s ecl-button__icon" focusable="false" aria-hidden="true" data-ecl-icon> <use xlink:href="/dist/media/icons.aa842b0d.svg#close-filled"></use> </svg></span></button> <div class="ecl-notification__title">Error notification</div> <div class="ecl-notification__description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam accumsan semper lorem, ac mollis lacus tincidunt eu. Duis scelerisque diam eu tempus fringilla.</div> </div> </div>
Try it yourself on the playground
Playground