Glasswork

Free
Open in editorEditor

Controls

About Glasswork

Glasswork is a live, animated Spectra gradient background in #9fb2ff, #3552ff, #1a2a9e and #b08cff. Tune it in the browser, then install it in React with one shadcn command. Free and MIT licensed.

Like the rest of Spectra, it shows thin arcs of light splitting into their spectrum.

It is a light background, so dark text reads cleanly on top: light-mode landing pages, pricing headers, docs heroes and product cards. Its colours are soft pastels with low contrast.

The spectrum 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
Light background · Pastel
Colours
  • #9fb2ff
  • #3552ff
  • #1a2a9e
  • #b08cff
Collection
Spectra
More in Spectra
AfterhoursPetal ArcRefractionAqua ThreadChroma ArcGold Thread