With Description
Enhance your toast notifications with detailed descriptions to provide more context to users.
Basic Description
Add a description as the second parameter:
Example
When to Use Descriptions
Descriptions are perfect for:
- Providing context: Explain what happened or why
- Next steps: Tell users what to do next
- Error details: Give specific information about errors
- Success confirmations: Reassure users about completed actions
Description Examples by Type
Success with Details
Example
Error with Explanation
Example
Info with Instructions
Example
Warning with Action Required
Example
Long Descriptions
Nuxt Notify handles longer descriptions gracefully:
Example
Using the add() Method
You can also pass descriptions using the add() method:
Example
Title Only vs With Description
Compare the difference:
Example
Best Practice: Use title-only toasts for simple confirmations. Add descriptions when users need more information or context.
Formatting Tips
Keep It Concise
- Aim for 1-2 short sentences
- Get to the point quickly
- Use clear, simple language
Be Specific
Bad vs Good
Action-Oriented
Bad vs Good
