Lantern

Free
Open in editorEditor

Controls

About Lantern

Lantern is a live, animated Glass Block gradient background in #3d2304, #b8650c, #ffb340 and #fff1c9. Tune it in the browser, then install it in React with one shadcn command. Free and MIT licensed.

Like the rest of Glass Block, it shows light seen through glass: walls of bevelled square blocks and fluted reeds.

It is a dark background, so white headlines and buttons read cleanly on top: hero sections, dark-mode landing pages, launch pages and app splash screens.

The fluted shader draws it live on the GPU, with WebGPU where the browser has it and WebGL2 otherwise, in a seamless loop. It leans toward the pointer and drifts as the page scrolls.

Look
Dark background
Colours
  • #3d2304
  • #b8650c
  • #ffb340
  • #fff1c9
Collection
Glass Block
More in Glass Block
GreenhouseBloomgridCanopyChlorophyllCinder GridDusk Grid