Tailwind CSS integration
mainTo use Tailwind CSS, set unstyled: true in toastOptions (globally) or the toast() options (individually). This allows you to use the classes object to map Tailwind classes to specific toast elements.
<Toaster
:toastOptions="{
unstyled: true,
classes: {
toast: 'bg-blue-400',
title: 'text-red-400',
description: 'text-red-400',
actionButton: 'bg-zinc-400',
cancelButton: 'bg-orange-400',
closeButton: 'bg-lime-400'
}
}"
/>