Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

diorama function

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

View as Markdown
import { diorama } from '@dioramajs/diorama/astro'
function diorama(options?: DioramaAstroOptions): AstroIntegrationLike

Parameters

NameTypeDescription
options?DioramaAstroOptions

Default {}.

Defined in packages/diorama/src/astro.ts.