# diorama

function in `@dioramajs/diorama/astro`

```ts
import { diorama } from '@dioramajs/diorama/astro'
```

The Astro integration: the Vite plugin for the effects folder, Lenis and scroll on request.

```ts
function diorama(options?: DioramaAstroOptions): AstroIntegrationLike
```

| Parameter | Type | Description |
| --- | --- | --- |
| `options?` | `DioramaAstroOptions` |  |

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