Gifted Chat provides a ready-made chat interface for React Native and web, with threading, media, and keyboard handling.
Overview
React Native Gifted Chat is a UI library that implements a full chat experience inside React Native applications, with optional support through react-native-web. Developers supply message arrays and callbacks while the component handles layout, scrolling, and composer behavior.
Features include swipable reply threading, pagination for older messages, composer attachments, avatars, typing indicators, message status ticks, quick replies, emoji reactions, and system messages. Link parsing covers URLs, email, phone numbers, hashtags, and mentions, and dates localize through Day.js.
Nearly every visual piece can be replaced with custom render functions for bubbles, toolbars, sends, and empty states. Keyboard avoidance integrates with react-native-keyboard-controller, with options to disable the built-in provider when the app already mounts one at the root.
The package ships TypeScript types and works with Expo SDK 50+ as well as bare React Native projects on current iOS and Android versions. Active feature work has moved to a maintained fork, while this package remains in maintenance mode for existing apps.
Key features
- Customizable message bubbles
- Swipe-to-reply threading
- Load-earlier message pagination
- Typing and read receipts
- Quick replies and reactions
- Smart link parsing
- Keyboard avoidance helpers
- Expo and react-native-web support
Use cases
- In-app customer messaging
- Team chat mobile screens
- Bot conversations with quick replies
- Expo prototype chat flows
- Slack-style threaded chats