Toast

A succinct message that is displayed temporarily.

Source code

Click here to see the source code for this component on GitHub. Feel free to copy it and adjust it for your own use.

Installation

npx ui-thing@latest add toast

Remember to add the <UiToastToaster /> component to your app layout.

<template>
  <div>
    <NuxtLoadingIndicator />
    <NuxtPage />
    <UiToastToaster />
  </div>
</template>

Usage

Full example