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

@dioramajs/diorama/next

Next.js wrapper that writes the effect registry for webpack and Turbopack.

View as Markdown
On this page
import { nextModule, withDiorama } from '@dioramajs/diorama/next'

Functions

nextModuleLazy imports with their metadata and the registry's types in one file.
withDioramaWraps a Next config so the effects folder becomes `@dioramajs/diorama/generated`.

Interfaces

NextConfigLikeThe part of a Next config `withDiorama` reads and writes.
WithDioramaOptionsOptions of `withDiorama`.