Feedback and status

Toast

Available forNativeWeb

transient · ToastProvider is in the root layout

The native kit's real component, live in its web build at phone width. Follows this site's theme.

Usage

Transient, bottom-anchored, tap to dismiss. Persistent messages use Alert.

API

const toast = useToast(); toast.success("Saved") · .error · .warning · .info

Get it

Already in every copy of the native kit:

import { useToast, ToastProvider } from '@/components/kit/toast';

Details

Exports
useToast, ToastProvider
Packages
lucide-react-native@^1.21.0, react-native-safe-area-context@~5.7.0
Installs with
@kit-native/icon, @kit-native/lib-haptics, @kit-native/lib-reduced-motion, @kit-native/lib-theme, @kit-native/lib-utils, @kit-native/text
Also searched as
snackbar, notification, message, copied

Agents: the whole registry is at /llms.txt.