npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kimtj12/react-native-hot-toast

v0.2.0

Published

Smoking hot React Native notifications. Faithful port of react-hot-toast with polished animations powered by Reanimated v4.

Downloads

264

Readme

@kimtj12/react-native-hot-toast

Smoking hot toasts for React Native. A faithful port of react-hot-toast with polished animations powered by Reanimated v4 and mobile-native gestures.

npm version license: MIT

Features

  • 🎨 Same lovable API as react-hot-toast (toast.success, toast.error, toast.promise, ...)
  • ⚡ Buttery-smooth animations on Reanimated v4 worklets
  • 👆 Mobile-native UX: tap to pause, swipe to dismiss
  • 🦺 Safe-area aware out of the box
  • 🧩 Headless API for fully custom UIs

Installation

npm install @kimtj12/react-native-hot-toast
# or
pnpm add @kimtj12/react-native-hot-toast
# or
yarn add @kimtj12/react-native-hot-toast

Peer dependencies

Make sure your app already has these installed:

| Package | Minimum version | |---|---| | react | ≥ 18 | | react-native | ≥ 0.76 | | react-native-reanimated | ≥ 3.16 (v4 compatible) | | react-native-safe-area-context | ≥ 4.10 | | react-native-gesture-handler | ≥ 2.20 |

Expo users: npx expo install react-native-reanimated react-native-safe-area-context react-native-gesture-handler will pick versions that match your SDK.

Quick start

Wrap your app with GestureHandlerRootView and SafeAreaProvider, then mount a single <Toaster /> near the root:

import { GestureHandlerRootView } from 'react-native-gesture-handler';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { toast, Toaster } from '@kimtj12/react-native-hot-toast';

export default function App() {
  return (
    <GestureHandlerRootView style={{ flex: 1 }}>
      <SafeAreaProvider>
        <YourScreens />
        <Toaster />
      </SafeAreaProvider>
    </GestureHandlerRootView>
  );
}

Then trigger toasts from anywhere in your app:

toast('Hello world');
toast.success('Saved!');
toast.error('Something broke');
toast.loading('Uploading...');

toast.promise(api.save(), {
  loading: 'Saving...',
  success: 'Saved!',
  error: 'Failed',
});

API highlights

import {
  toast,
  Toaster,
  ToastBar,
  ToastIcon,
  CheckmarkIcon,
  ErrorIcon,
  LoaderIcon,
} from '@kimtj12/react-native-hot-toast';

A headless entrypoint is also exposed for fully custom UIs:

import { useToaster, useToasterStore } from '@kimtj12/react-native-hot-toast/headless';

Differences from react-hot-toast

This is a port aimed at native mobile, so a few things differ:

  • style is StyleProp<ViewStyle>; new textStyle and iconStyle props for fine control
  • className is removed (no DOM)
  • Desktop hover-based pause is replaced with pauseOnPressIn (on by default)
  • New swipeToDismiss prop (on by default, can be disabled)
  • New useSafeArea prop (on by default)

License

MIT © kimskulltj

Acknowledgements

Huge thanks to Timo Lins and the contributors of react-hot-toast. This library is a respectful port that owes everything to the original — the API design, the animation choices, and the lovely DX. If you build for the web, please use the original. ❤️