React Native Toast for Expo

Install

Toast · Default, native in Expo Go — the other variants are a tap away. No account needed.

Needs Expo Go for SDK 58 — update from the App Store or Play Store.

Sonner-style toasts whose tone icon draws itself while a hairline drains away.

iOS · Android · Expo Go
9:41

Installation

One command copies the source into your app — you own the code and can change anything.

After you add the file, import it like any local component:

App.tsx
import { Toaster } from "@/components/ui/toast";

Or add it with the CLI (installs any missing peers):

Usage

Colours, radius and light / dark come from useKit(). Wrap your app in <KitProvider accent="#6366f1" radius={14}> to re-skin every component at once.

Like this? There's a lot more in Pro Pro

12 full screens built from the same kit — install them the same way.

See what's in Pro

Props

PropTypeDefault
toast(title, options?)

Global API. Also toast.success / error / warning / info / loading / promise / dismiss(id?).

(string, ToastOptions) => id—
ToastProvider / useToast()

Scoped store: wrap UI + <Toaster />, call useToast() instead of the global toast().

context—
options.description

Second line.

string—
options.action

Inline button (dismisses after press).

{ label, onPress }—
options.icon

Replace the type icon, or false for none.

ReactNode | falsetype icon
options.duration

ms before auto-dismiss; Infinity to keep.

numberToaster duration
options.id

Reuse to update a toast in place.

stringauto
options.toaster

Target a <Toaster id>.

string—
<Toaster> position

Edge the stack sits on (island always sits top-centre).

"top" | "bottom""bottom"
<Toaster> variant

Cards with a tone glow, cards filled with the solid tone, compact inverted pills, or a black Dynamic Island capsule that springs open, morphs between toasts (tap to expand, swipe up to dismiss).

"default" | "rich" | "minimal" | "island""default"
<Toaster> duration

Default auto-dismiss in ms.

number4000
<Toaster> visibleToasts

Cards visible in the stack.

number3
<Toaster> expand

Always fanned out.

booleanfalse
<Toaster> offset / gap

Edge distance and fan-out spacing. Added on top of safeArea and bottomInset.

number16 (island 10) / 10
<Toaster> safeArea

Clear the notch / Dynamic Island and home indicator using react-native-safe-area-context's insets (when installed; every Expo Router app has it).

booleanfalse
<Toaster> bottomInset

Extra space under a bottom stack for a tab bar or composer: <Toaster safeArea bottomInset={49} /> in your (tabs) layout.

number0
<Toaster> closeButton

✕ on every toast.

booleanfalse
<Toaster> id

Only show toasts sent with { toaster: id }.

string—
<Toaster> haptics

Success / warning / error notification haptic when a toast appears or resolves.

booleantrue
style

Style for the <Toaster> host that fills the screen and positions the stack.

StyleProp<ViewStyle>—
className

Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.

string—

Customization

You own the source file — tune appearance with props (no fork required for most tweaks). For brand-wide colours and radius, wrap your app in KitProvider; for one-off looks, use the style props below.

Design theme

Open Design theme on the live preview — accent, corner radius and font update every variant instantly (same as KitProvider in your app).

Variants

Use the variant chips on the preview to switch examples; each maps to a demo you can copy from the Code tab.

Style props

React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).

<Toaster> variant
"default" | "rich" | "minimal" | "island" · default "default"Cards with a tone glow, cards filled with the solid tone, compact inverted pills, or a black Dynamic Island capsule that springs open, morphs between toasts (tap to expand, swipe up to dismiss).
style
StyleProp<ViewStyle>Style for the <Toaster> host that fills the screen and positions the stack.
className
stringTailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.

Map tokens from your design system on Bring your design system or read Theming for KitProvider and NativeWind / Uniwind setup.

Behaviour & accessibility

Touch
Tap the stack to fan it out, swipe a toast sideways or toward the edge to dismiss it; timers and the drain line pause while you touch.
Motion
Tone icons draw their outline inside a halo; toast.promise() closes the spinning arc into the success or error mark. variant="island" morphs like a Dynamic Island.
Reduced motion
Tone icons appear fully drawn without the spin or pop, and the island skips its squash and staggered morph.
Haptics
A success, warning or error notification when a toast of that type appears, landing as the loading circle closes; turn it off with haptics={false}.
Screen readers
Each toast is an alert in a polite live region, labelled by its title and description, with action and Dismiss buttons.

Source

FAQ

How do I make a toast message in React Native?
Use ExpoKit's Toast: run npx @expokit/cli@latest add toast in your Expo or React Native project and it copies a ready-made toast message into your app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.
Does Toast work in Expo Go?
Yes. Toast runs in Expo Go on iOS and Android with no development build — its packages (react-native-svg, expo-haptics, react-native-gesture-handler, react-native-reanimated, react-native-worklets) are all included in Expo Go.
How do I add Toast to my Expo app?
Run npx @expokit/cli@latest add toast in your project. The CLI copies the component's source into your app and installs react-native-svg, expo-haptics, react-native-gesture-handler, react-native-reanimated, react-native-worklets, so the code is yours to change.
Is Toast free?
Yes. Toast is free: its full source is on this page and the CLI installs it without an account.
Can I change how Toast looks?
Yes. It takes its colours, radius and light / dark mode from useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit component. The code lives in your project, so you can also edit anything directly.