Toast

toast popup은 사용자 알림의 하나로 일정 시간 이후 자동으로 사라지는 형태이기 때문에 알림의 중요도가 낮거나 사용자 행위를 되돌릴 수 있을 경우에 사용 됩니다.

Examples

클래스로 구분하여 알림 상황에 맞는 toast popup을 사용합니다.

fail toast Retry?
positive toast
dager toast
success toast
warning toast
basic toast
<div class="xe-toast-container">
    <div class="xe-alert xe-fail">
        <button type="button" class="xe-btn-alert-close"><i class="xi-close"></i><span class="xe-sr-only">toast close</span></button>
        fail toast <a href="#"> Retry?</a>
    </div>
    <div class="xe-alert xe-positive">
        <button type="button" class="xe-btn-alert-close"><i class="xi-close"></i><span class="xe-sr-only">toast close</span></button>
        positive toast
    </div>
    <div class="xe-alert xe-danger">
        <button type="button" class="xe-btn-alert-close"><i class="xi-close"></i><span class="xe-sr-only">toast close</span></button>
        dager toast
    </div>
    <div class="xe-alert xe-success">
        <button type="button" class="xe-btn-alert-close"><i class="xi-close"></i><span class="xe-sr-only">toast close</span></button>
        success toast
    </div>
    <div class="xe-alert xe-warning">
        <button type="button" class="xe-btn-alert-close"><i class="xi-close"></i><span class="xe-sr-only">toast close</span></button>
        warning toast
    </div>
    <div class="xe-alert">
        <button type="button" class="xe-btn-alert-close"><i class="xi-close"></i><span class="xe-sr-only">toast close</span></button>
        basic toast
    </div>
</div>