Skip to content
Proyectos

Acerca de

🍞 Smooth morphing toasts for React Native

Desarrollo web y de aplicaciones

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
+2
in 15 days
+3
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

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

Explorar proyectos relacionados

Cargando…