toastiva
v0.1.15
Published
Morphing toast notifications for React Native.
Maintainers
Readme
[!IMPORTANT] iOS and Android only — not built for React Native Web. Android blur (
filter: [{ blur }]) requires RN 0.76+ with the New Architecture (Fabric).
Install
npx expo install react-native-gesture-handler react-native-reanimated react-native-worklets react-native-safe-area-context react-native-svg expo-blur
npm install toastivaQuick start
import { GestureHandlerRootView } from "react-native-gesture-handler";
import { SafeAreaProvider } from "react-native-safe-area-context";
import { ToastivaProvider, toastiva } from "toastiva";
export default function App() {
return (
<GestureHandlerRootView style={{ flex: 1 }}>
<SafeAreaProvider>
<ToastivaProvider position="top-center">
<RootNavigator />
</ToastivaProvider>
</SafeAreaProvider>
</GestureHandlerRootView>
);
}
toastiva.success("Saved", { description: "Your changes are ready." });Docs & preview
Full guides, video previews, and the API reference live in the GitHub repo:
License
MIT © Ritesh
