Skip to content
Projekte

Über uns

🍞 Smooth morphing toasts for React Native

Web- und App-Entwicklung

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
+2
in 15 days
+3
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original
Toastiva

Toastiva

Morphing toast notifications for React Native.
iOS and Android.

npm version npm downloads MIT license platforms



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 toastiva

Android needs React Native 0.76+ with the New Architecture for the blur header. Below that, toasts still render, just without the blur layer. iOS uses expo-blur and is unaffected. Not built for React Native Web.

Quick 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

Installation · Usage · Styling · Animations · API reference

Layout inspired by sileo.aaryan.design.


MIT © Ritesh

Ähnliche Projekte entdecken

Wird geladen…