ToastCommunity Asset

Open in new window
Open in new window
Open in new window
Open in new window
View RTL
<script setup lang="ts">
const addToast = useAddToast()

const handleAddToast = () => {
  addToast('Message sent')
}
</script>

<template>
  <div class="n-stack">
    <p>Click the button below to add a toast notification.</p>

    <nord-button variant="primary" @click="handleAddToast">
      Add toast
    </nord-button>
  </div>
</template>

Integration

This community asset is currently only available to use in the New Frontend for Provet Cloud.


Troubleshooting

If you experience any issues while using this community asset, please ask for support in the #vet-frontend Slack channel.


Was this page helpful?

YesNo
Send feedback

We use this feedback to improve our documentation.

 
Edit page
Choose therapy brandChoose veterinary brandAbout Nord Design SystemGet support