LiveKit docs › Hooks › useRoomInfo

---

# useRoomInfo

## Import

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

```

## Properties

- **`options.room`** _(Room)_ (optional): 

## Returns

```typescript
{
  name: string;
  metadata: string | undefined;
}

```

---

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

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