LiveKit docs › Components › ClearPinButton

---

# ClearPinButton

The `ClearPinButton` is a basic html button with the added ability to signal the `LayoutContext` that it should display the grid view again.

## Import

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

```

## Remarks

This component works only inside a `LayoutContext`.

## Usage

```tsx
<LiveKitRoom>
  <ClearPinButton>Back to grid view</ClearPinButton>
</LiveKitRoom>

```

---

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

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