LiveKit LogoDocs
Real-timeEgress/IngressCloudReference

DisconnectButton

The DisconnectButton is a basic html button with the added ability to disconnect from a LiveKit room. Normally, it is used by end-users to leave a video or audio call.

Import

import { DisconnectButton } from '@livekit/components-react';

Usage

<LiveKitRoom>
<DisconnectButton>Leave room</DisconnectButton>
</LiveKitRoom>

Properties

#
stopTracks?boolean

(Optional)

On this page

ImportUsageProperties

Previous

Chevron IconControlBar
LiveKit logo

Product

SFU

SDKs

Performance

Deployment

GitHub Logo