LiveKit docs › Hooks › useRemoteParticipant

---

# useRemoteParticipant

The `useRemoteParticipant` hook returns the first RemoteParticipant by either identity and/or based on the participant kind.

## Import

```typescript
import { useRemoteParticipant } from "@livekit/components-react";

```

## Remarks

To optimize performance, you can use the `updateOnlyOn` property to decide on what `ParticipantEvents` the hook updates.

## Usage

```tsx
const participant = useRemoteParticipant({ kind: ParticipantKind.Agent, identity: "myAgent" });

```

## Properties

- **`identifier`** _(ParticipantIdentifier)_: 

- **`options.updateOnlyOn`** _(ParticipantEvent[])_ (optional): To optimize performance, you can use the `updateOnlyOn` property to decide on what `ParticipantEvents` the hook updates. By default it updates on all relevant ParticipantEvents to keep the returned participant up to date.

## Returns

```typescript
RemoteParticipant | undefined;

```

---

This document was rendered at 2026-06-07T11:35:25.286Z.
For the latest version of this document, see [https://docs.livekit.io/reference/components/react/hook/useremoteparticipant.md](https://docs.livekit.io/reference/components/react/hook/useremoteparticipant.md).

To explore all LiveKit documentation, see [llms.txt](https://docs.livekit.io/llms.txt).