Components
Toast
Overview
Toast
is a React Native component designed to provide quick feedback in the form of a temporary, dismissible message. It can be customized based on various variants such as default
, success
, destructive
, and info
.
Preview
Light Mode
Dark Mode
Light Mode (with progress)
Dark Mode (with progress)
Light Mode
Dark Mode
Light Mode (with progress)
Dark Mode (with progress)
Installation
1
First Step
Include Toast.tsx in your project.
2
Second Step
Update the import paths to match your project setup.
3
Third Step
Wrap your main component, or the part of your app where you want to use the toast, with the ToastProvider
4
Fourth Step
Import and use the useToast
hook to get access to the toast
function