React NativeFeedback
Offline Banner
Network-aware banner for offline state and reconnect flash. Import from
@intelli/ui-native. Use onPress and style instead of DOM events and className.Install
npx @intellihelper/cli@latest add @native/offline-bannerUsage
From an Expo or React Native app, wrap the tree in ThemeProvider.
import { ThemeProvider } from "@/components/ui/native/theme";
import { OfflineBanner } from "@/components/ui/native/banner";
export function Example() {
return (
<ThemeProvider theme="mono" followSystem>
<OfflineBanner>Offline Banner</OfflineBanner>
</ThemeProvider>
);
}Platform notes
This component is implemented in packages/ui-native. Preview it on a device with pnpm native from the monorepo (Expo Go).
Optional peers: expo-blur for real frost, react-native-safe-area-context for sheet/dialog insets.
Source: ui-native components on GitHub
9:41
Offline Banner
You’re looking at the native Offline Banner.
iPhone preview — same APIs as @intelli/ui-native