ComponentsToast
Toast
The Toast component is an easy-to-use, flexible solution for displaying unobtrusive notifications or simple messages in your application.
The Toast component is an easy-to-use, flexible solution for displaying unobtrusive notifications or simple messages in your application.
Prop | Type | Default |
---|---|---|
toast | Service | |
asChild | boolean |
Prop | Type | Default |
---|---|---|
placement | Placement | |
asChild | boolean |
Prop | Type | Default |
---|---|---|
asChild | boolean |
Prop | Type | Default |
---|---|---|
defaultOptions | Partial<Pick<ToastOptions, 'placement' | 'duration' | 'removeDelay'>> | |
dir | 'ltr' | 'rtl' | "ltr" |
getRootNode | () => ShadowRoot | Node | Document | |
gutter | string | |
id | string | |
max | number | |
offsets | string | Record<'top' | 'bottom' | 'left' | 'right', string> | |
pauseOnInteraction | boolean | |
pauseOnPageIdle | boolean | |
zIndex | number |
Prop | Type | Default |
---|---|---|
asChild | boolean |
Prop | Type | Default |
---|---|---|
asChild | boolean |