saadeghi/daisyui

docs: toast

ZhangPeibin opened this issue · 3 comments

On which page do you see this issue?

https://daisyui.com/components/toast/

Describe the issue

Toast messages are usually used to display temporary notifications on the application interface. They will automatically disappear after a period of time.

Based on the above, I think the page should list Toast as a component, and then give different styles in the demo to display different toasts.

What browsers are you seeing the problem on?

No response

Thank you @ZhangPeibin for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

agree to this

Thanks for the suggestion but issue section is for reporting bugs.

Toast messages are usually used to display temporary notifications on the application interface. They will automatically disappear after a period of time.

This description is different from what daisyUI provides for toast class name.

Toast is a wrapper to stack elements, positioned on the corner of page.

even though you can achieve the described behavior using JS (to hide the element after a period of time)