Skip to content

About

Hot toast notifications for React Native & Expo with zero dependencies, imperative API, and theme support.

Resources

Code of conduct

Contributing

Stars

6 stars

Watchers

0 watching

Forks

Repository files navigation

NativeToast

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.

Examples

Example Preview Docs
Success Success Toast Types
Error Error Toast Types
Loading Loading toast.loading
Promise Promise toast.promise
Stack Mode Stack Mode Stack Mode
Custom Icon Custom Icon Custom Icons
Emoji Icon Emoji Icon Emoji Icons
Multiline Multiline Message Types
Default Default Toast Types
Theming Theming Theming

Installation

pnpm add @ncrft/native-toast

Quick 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

About

Hot toast notifications for React Native & Expo with zero dependencies, imperative API, and theme support.

Resources

Code of conduct

Contributing

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages