Skip to main content
Daily React (@daily-co/daily-react) is a library of React hooks and components for building custom Daily applications. It wraps daily-js so that call state, events, and media become first-class React: reactive hooks instead of manual event listeners, and components instead of hand-managed <video> and <audio> tags.
Using Daily React is optional but strongly recommended. We use it internally: Daily Prebuilt, our ready-to-use embeddable call UI, is built on Daily React. It is our preferred way to build with Daily and React, and it is tested extensively.

Start here

Introduction

What Daily React is, when to use it, and how it relates to daily-js.

Quickstart

Build a working multi-participant call in React, end to end.

Installation

Install the package and its peer dependencies, and set up the provider.

Thinking in Daily React

The reactive mental model that makes the rest of the library click.

Components

Daily React ships a small set of components that handle the parts of a call that touch the DOM directly: rendering video and routing audio.
  • DailyProvider — gives every component access to the call object
  • DailyVideo — renders a participant’s video track
  • DailyAudio — plug-and-play audio for the whole call
  • DailyAudioTrack — a single audio track, for custom audio layouts

Hooks

Every hook reads from Daily React’s internal store and re-renders your component only when the slice it reads changes. The full per-hook API lives in the reference; the guides show how to combine them. Call and meeting state Participants Events Media and devices Messaging and features Quality and diagnostics