Feedback

Toast Notifications

Use .quanta-toast-container to hold toasts, and .quanta-toast for each notification. Add a close button and optional icon/title.

<div class="quanta-toast-container top-right">
  <div class="quanta-toast quanta-success">
    <div class="quanta-toast-icon">✔</div>
    <div>
      <div class="quanta-toast-title">Success</div>
      <div class="quanta-toast-body">Your data has been saved.</div>
    </div>
    <button class="quanta-toast-close">×</button>
  </div>
</div>
Success
Your data has been saved.

Position Variants

Apply positioning classes to the container: .top-right, .top-left, .bottom-right, .bottom-left, .top-center, .bottom-center.

<div class="quanta-toast-container bottom-left">…</div>
Info
Here is some important information.

Semantic Variants

Use semantic classes on each toast for colored border and icon: .quanta-primary, .quanta-success, .quanta-danger, .quanta-warning, .quanta-info, .quanta-neutral, .quanta-accent, .quanta-ghost.

<div class="quanta-toast quanta-danger">…</div>
Error
Something went wrong!
Warning
Please check your inputs.

Progress Bar

Add .quanta-toast-progress inside to show auto-dismiss countdown.

<div class="quanta-toast quanta-primary">
  …
  <div class="quanta-toast-progress" style="animation-duration:4000ms"></div>
</div>
🔔
Notice
This notification will disappear.