Skip to main content

Toast

Toast is a status message that briefly appears over the page, such as confirming an export or offering to undo an action.

Import

import { ToastProvider } from '@vortexlabs/vortex';
import type { ToastProviderProps } from '@vortexlabs/vortex';

Allied components

Other links

ToastProvider props
PropTypeDefaultAttributes
children
React.ReactNode
No default value
options
object
No default value

useToast().show

show options
PropTypeDefaultAttributes
layout
union
inline
icon
union
No default value
startSlot
React.ReactNode
No default value
title
React.ReactNode
No default value
description
React.ReactNode
No default value
children
React.ReactNode
No default value
actionsSlot
React.ReactNode
No default value
closeAriaLabel
string
No default value
closable
boolean
true
tone
union
inverse
className
union
No default value
attributes
object
No default value
timeout
union
brief
position
union
bottom-end