@ncrft/native-toast
v1.0.0
Published
Zero-dependency, headless toast notifications for React Native
Maintainers
Readme
NativeToast
A zero-dependency, headless toast notification system for React Native (Expo) with an imperative API, animated SVG icons, stack mode, swipe dismiss, custom icons, and dark/light themes.
Installation
pnpm add @ncrft/native-toastQuick Start
import { ToastContainer, toast } from '@ncrft/native-toast';
import { SafeAreaProvider } from 'react-native-safe-area-context';
export default function App() {
return (
<SafeAreaProvider>
{/* your app */}
<ToastContainer />
</SafeAreaProvider>
);
}
// Call from anywhere
toast.success('Settings saved!');Documentation
Full docs at native-toast-nc.vercel.app
