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

default const

Small twinkling sparkles around an element: while hovered, in a burst from a click, once as it comes into view, or all the time.

View as Markdown
import { default } from '@dioramajs/particles/sparkles'

. For badges, "new" labels, premium buttons and product highlights. They draw over the page and never take a click; under reduced motion nothing loads.

const default: Effect<Params>

Defined in packages/particles/src/sparkles.ts.