# @dioramajs/diorama/astro

Astro integration that adds the Vite plugin.

## Functions and values

- [diorama](/docs/api/diorama-astro/diorama.md): The Astro integration: the Vite plugin for the effects folder, Lenis and scroll on request.

## Types

- [AstroIntegrationLike](/docs/api/diorama-astro/types/astro-integration-like.md): The part of an Astro integration the plugin returns.
- [AstroLenisOptions](/docs/api/diorama-astro/types/astro-lenis-options.md): Lenis options that can be written into the page. Functions (`easing`, `prevent`, `virtualScroll`) cannot: pass those to `smoothScroll` from diorama/astro/client in a script.
- [AstroSetupParams](/docs/api/diorama-astro/types/astro-setup-params.md): What `astro:config:setup` gives the integration.
- [DioramaAstroOptions](/docs/api/diorama-astro/types/diorama-astro-options.md): Options of the Astro integration.
