11 | Stackable toast component for Vuetify. 12 |
13 | 31 |You can change the amount of toasts visible through the visibleToasts prop.
30 | 38 |{{ code }}
44 | Swipe direction changes depending on the position.
37 | 42 |<VSonner position="{{ position }}" />
48 | You can customize the type of toast you want to render, and pass an options object as the second argument.
31 | 54 |{{ code }}
60 | You can remove or customize the progress bar
19 | 77 |toast('Progress bar', { progressBar: true, progressBarProps: { color: 'error', height: 12 } })
83 | You can add avatars to your toast
9 | 65 |toast('This toast has an avatar', { avatar: 'https://...' })
71 |