# LenisPluginOptions

interface in `@dioramajs/diorama/lenis`

```ts
import type { LenisPluginOptions } from '@dioramajs/diorama/lenis'
```

Options of `lenisPlugin`.

```ts
interface LenisPluginOptions
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `handoff` | `boolean` | Keep driving Lenis after the last app using it goes away (StrictMode, HMR). Default true. |
| `lenis?` | `LenisLike` | The site's Lenis. One created later (ReactLenis, a page transition) comes in through `use()`. |
| `takeover` | `boolean` | With true (default) only the pump advances Lenis. The site's own `raf` calls (own loop, gsap.ticker, autoRaf) are absorbed and only wake the pump. With false Diorama never calls `raf`, the site drives Lenis and GL may lag a frame ('external'). |

Also exported from `@dioramajs/lenis`.

Defined in [packages/lenis/src/types.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/lenis/src/types.ts#L36).
