Chat UI components preview, real-time messaging data, and more
Highlights
Chat UI components ✨ preview ✨
TalkJS chat UI components (‘Components v2’) are now in preview and safe to use in production.
Chat UI components give you ultimate flexibility to control the appearance and behavior of your chat. You can use the components with a ready-to-go pre-built theme, or customize your theme to get the exact look and feel you want.
Currently components are available for a chatbox UI with a range of basic features, which is continuously expanding.
To work with chat UI components, you’ll need to combine the following two packages:
- @talkjs/components — a library that provides both React components and web components that you can use with any frontend framework, such as Angular, Vue, or Svelte.
- @talkjs/theme-default — a package with the default theme for
@talkjs/components
which lets you display a chat with any frontend framework. The default theme is fully open source, and you can fork and customize it to fit your own brand. See the default theme Github repository.
Use one of the dedicated getting started guides for chat UI components:
- JavaScript getting started guide →
- React getting started guide →
- Next.js getting started guide →
- Angular getting started guide →
- Vue getting started guide →
- Svelte getting started guide →
Note: Chat UI components are currently in preview. They're safe to use in production, but still offer limited features. Updates are added on a rolling basis and are always fully backward-compatible.
Real-time messaging data
You can now read, update, and subscribe to all your chat messaging data—no chat UI needed. This means that you can bring your own fully custom-built chat UI, and let TalkJS take care of the rest.
To work with real-time chat data, you have the following two options:
- Realtime API, part of the JavaScript SDK
- @talkjs/core, a standalone package now available on NPM
Want to get started directly? Here are some guides:
In a hurry? Copy a full working code example.
Overview of other changes
Added
- JavaScript SDK (0.35.0): Added ConversationRef.subscribe to be able to subscribe to a conversation with the Realtime API.
- React Native SDK (0.13.0): The
keyboardVerticalOffset
prop is now also used in Android. This is part of the fix to ensure proper keyboard behaviour on apps targeting Android 15 and above. The default value on Android is55 + StatusBar.currentHeight
.
Changed
- React Native SDK (0.13.0): Updated dependencies.
Deprecated
- JavaScript SDK (0.35.0): Removed
ConversationSnapshot.lastMessageAt
. UseConversationSnapshot.lastMessage.createdAt
instead.
Fixed
- React Native SDK (0.13.0): Fixed keyboard issues on Android 15 that arose due to Android's enforcement of edge-to-edge.
- React Native SDK (0.13.0): Fixed internal event subscriptions not being cleaned up properly on re-renders.
Resources
Case study: FrostyWave is empowering young women with TalkJS messaging
Find out how FrostyWave is empowering young women to grow into their best selves with the TalkJS chat API.
Trying out TalkJS demos? Make it collaborative!
You can now use a one-click invite to try out TalkJS demos with colleagues in a shared conversation. Check out the latest demos:
👋 Thoughts? Questions? Get in touch.
✨ Follow TalkJS on LinkedIn, Bluesky or 𝕏 to stay up to date.
👩🏾💻 Come join TalkJS! Check out the jobs page.