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

A short bright beam with a soft trail runs around the element's rounded border, like the border beam of SaaS feature cards and highlighted inputs: all the time, in pulses from the top, or while hovered and focused.

View as Markdown
import { default } from '@dioramajs/blocks/beam'

. The element stays DOM; the light draws over its edge.

const default: Effect<Params>

Defined in packages/blocks/src/beam.ts.