--- title: Toaster description: 'A notification component that shows up from the bottom, in various states.' api_name: shop-minis source_url: html: 'https://shopify.dev/docs/api/shop-minis/components/primitives/toaster' md: 'https://shopify.dev/docs/api/shop-minis/components/primitives/toaster.md' --- # Toaster A notification component that shows up from the bottom, in various states. For full props documentation, see [Sonner](https://sonner.emilkowal.ski/). Examples ## Preview ![toaster](https://shopify.dev/assets/assets/images/templated-apis-screenshots/shop-minis/Toaster-qCBDq-jv.png) ### Examples * #### ##### tsx ```tsx import {Toaster, Button, toast} from '@shopify/shop-minis-react' export default function MyComponent() { const handleClick = () => { toast.success('Success toast!') } return ( <> ) } ``` * #### ##### Description A success toast notification ##### tsx ```tsx import {Toaster, Button, toast} from '@shopify/shop-minis-react' export default function MyComponent() { const handleClick = () => { toast.success('Success toast!') } return ( <> ) } ``` * #### ##### Description An error toast notification ##### tsx ```tsx import {Toaster, Button, toast} from '@shopify/shop-minis-react' export default function MyComponent() { const handleClick = () => { toast.error('Error toast!') } return ( <> ) } ``` ***