Feedback
Toast
Non-blocking notification messages that appear in response to a user action. They should be brief and not interrupt the user flow.
V 1.0View in Storybook
Controls
Type
Message
Show Button
Button Label
Show Cross
Variants
Props
Code
import { Toast } from '@/src/components/Toast/Toast'
<Toast
type="success"
message="Item added to your cart"
showButton={true}
buttonLabel="View Cart"
showCross={true}
onDismiss={() => setVisible(false)}
/>