
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@cloudflare/realtimekit-react-ui
Advanced tools
Pre-built, ready-to-use React components, hooks and utilities for integrating with Cloudflare RealtimeKit
RealtimeKit React UI provides pre-built, ready-to-use UI components for React for integrating with Cloudflare RealtimeKit.
If you're using a different framework or no framework (see HTML), we also offer dedicated packages:
First, install RealtimeKit UI along with RealtimeKit:
@cloudflare/realtimekitis the core package that offers APIs to handle meetings in the client side. You use it to access and perform actions in a meeting.
npm i @cloudflare/realtimekit-react-ui @cloudflare/realtimekit
This is the simplest way to use RealtimeKit UI, where you don't have to manage the entire meeting UI on your own. Everything will be taken care of by the RtkMeeting component.
Use the useRealtimeKitClient() hook to access the meeting instance state, as well as the meeting instance initializer method.
Then pass the authToken of a participant that you receive from your API.
You call the RealtimeKit Add Participant API from your own backend API to get this
authTokento use with RealtimeKit.
import { useRealtimeKitClient } from '@cloudflare/realtimekit/react';
function App() {
const [meeting, initMeeting] = useRealtimeKitClient();
useEffect(() => {
initMeeting({
authToken: '<auth-token>',
roomName: '<room-name>',
defaults: {
audio: true,
video: true,
},
});
}, []);
return <RtkMeeting meeting={meeting} />;
}
<RtkUiProvider>If you wish to use individual UI components to build your desired UI, you can use the RtkUiProvider component to provide the meeting instance to all child components to make development easier:
import { useRealtimeKitClient } from '@cloudflare/realtimekit/react';
import {
RtkUiProvider,
RtkMeeting,
RtkSimpleGrid,
} from '@cloudflare/realtimekit-react-ui';
function App() {
const [meeting, initMeeting] = useRealtimeKitClient();
useEffect(() => {
initMeeting({
authToken: '<auth-token>',
roomName: '<room-name>',
defaults: {
audio: true,
video: true,
},
});
}, []);
return (
<RtkUiProvider meeting={meeting}>
<RtkSimpleGrid />
</RtkUiProvider>
);
}
FAQs
Pre-built, ready-to-use React components, hooks and utilities for integrating with Cloudflare RealtimeKit
We found that @cloudflare/realtimekit-react-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 40 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.