Skip to content
Ringobook v3.27.0

Toasts

A toast is a brief, non-blocking notification that appears temporarily to confirm an action or surface a status message.

<div class="ro-toast" data-ro-mode="inverted" role="status" aria-live="polite">
<div class="ro-toast-header">
<div class="ro-toast-header-left">
<i class="ro-toast-icon ro-icon ro-icon-check-circle ro-size-lg ro-u-text-success"></i>
<h3 class="ro-toast-title">Payment confirmed</h3>
</div>
<div class="ro-toast-header-actions">
<button class="ro-btn ro-variant-ghost ro-size-sm ro-toast-close" aria-label="Close" type="button">
<i class="ro-icon ro-icon-x-small ro-size-lg"></i>
</button>
</div>
</div>
<p class="ro-toast-body">Your transaction was processed successfully.</p>
</div>
Preview

Payment confirmed

Your transaction was processed successfully.

VariantIcon class
Successro-icon-check-circle with ro-u-text-success
Dangerro-icon-bubble-annotation-alert with ro-u-text-danger
Inforo-icon-info-circle with ro-u-text-info
Warningro-icon-warning-error with ro-u-text-warning
<div class="ro-toast" data-ro-mode="inverted">
<div class="ro-toast-header">
<div class="ro-toast-header-left">
<i class="ro-toast-icon ro-icon ro-icon-warning-error ro-size-lg ro-u-text-warning"></i>
<h3 class="ro-toast-title">Low disk space</h3>
</div>
</div>
<p class="ro-toast-body">Less than 10% space remaining on your server.</p>
</div>
Preview

Low disk space

Less than 10% space remaining on your server.

ClassDescription
.ro-toastRoot notification panel.
.ro-toast-headerTop row.
.ro-toast-header-leftIcon + title cluster.
.ro-toast-header-left--with-buttonLeft cluster variant when actions sit inline.
.ro-toast-header-actionsClose or secondary actions column.
.ro-toast-title-stackTitle + subtitle stack (Vue layout).
.ro-toast-iconIcon slot in the header.
.ro-toast-titlePrimary message text.
.ro-toast-bodyOptional secondary content.
.ro-btn.ro-toast-closeClose button modifier.
.ro-btn.ro-toast-moreSecondary action button modifier.

For programmatic toast stacks in Vue apps, see @ringover/ringo-ui (RoToast, RoToastProvider, RoToastTrigger).

Changelog

Recent updates in @ringover/styles. See the full package changelog .

@ringover/styles@3.15.0
  • Added inverted theme support.
@ringover/styles@3.13.0
  • Extended header actions and optional show-more action.
  • Synchronized toast styles with Ringo UI.