Native only

Notifications

Available forNative

in-app banner now (delay: 0), real OS notification when scheduled

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

Usage

No delay draws the in-app banner, which looks the same everywhere and is what a demo needs. A delay also schedules the real OS notification when it can.

API

const { notify } = useNotify(); notify({ title, body?, delay?, icon? })

Get it

Already in every copy of the native kit:

import { useNotify, NotifyProvider } from '@/components/kit/notify';

Details

Exports
useNotify, NotifyProvider
Packages
expo-notifications@~57.0.20, 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-native-context, @kit-native/lib-reduced-motion, @kit-native/lib-utils, @kit-native/text, @kit-native/toast
Also searched as
notification, alert, push, banner, reminder

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