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/media/hover-preview

Exports of @dioramajs/media/hover-preview.

View as Markdown
import { default } from '@dioramajs/media/hover-preview'

Constants

defaultOver a list of links, the picture of the item under the pointer follows it: it appears, trails with a stretch from the pointer's speed and crossfades between items. In `beside` it stands next to the item's text instead, in `fixed` at the middle of the list. Keyboard focus shows the picture beside the focused item. The list itself stays DOM.