API
Form
All necessary components to build forms to take user inputs.
All of our components are built using Tailwind CSS. Make sure to set it up correctly by following the guide available here.
We offer several useful React components that you can use to create a form for user input.
Components
<RealtimeForm />
A styled form component.
<RealtimeFunctionURLInput />
A styled input component for entering the function URL.
<RealtimeAudioInput />
A styled select component designed for selecting audio input. It utilizes useAvailableMediaDevices
to show a list of all audio devices connected to the system, allowing users to choose from them.
<RealtimeVideoInput />
A styled select component designed for selecting video input. It uses useAvailableMediaDevices
to display a list of all video devices connected to the system, enabling users to select from them.
<RealtimeFormButton />
A styled button component for form submission.
Was this page helpful?