ambientcss
kikkupico/ambientcss · Public GitHub repository
A physics-based lighting system for CSS. Define a light source, and every shadow, highlight and surface gradient follows from it — calibrated against Blender raytraces.
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
A physics-based lighting system for CSS. Define a light source, and every shadow, highlight, and surface gradient follows from it — no more hand-tuned shadow-sm / shadow-md / shadow-lg.
Live Demo • Documentation • npm (@ambientcss/css) • npm (@ambientcss/components)
The same device, twice: raytraced in Blender (ambient3d) on one side of the wipe, live DOM under @ambientcss/css on the other — same geometry, same light vector, box-shadow instead of Cycles. The faceplate is a plain .ambient .amb-surface .amb-chamfer-2 box, and every control sits on the spacing scale — tight 12 / normal 20 / loose 32 mm, including the panel's own edge margin. Built by tools/hero-gif; the full clip is ambientcss.mp4.
Requirements and intended audience
A physics-based lighting system for CSS. Define a light source, and every shadow, highlight, and surface gradient follows from it — no more hand-tuned shadow-sm / shadow-md / shadow-lg.
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-10-21. Source: https://github.com/kikkupico/ambientcss/blob/master/README.md
Recorded maintenance information
Last recorded source update: 2026-11-05. A published release has not been recorded. These dates do not guarantee ongoing maintenance.
- Technologies
- React
- Licence
- MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-20. This does not test every feature.
Browse related categories
More projects to explore
hyperframes
heygen-com/hyperframes
Open-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
archify
tt-a1i/archify
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
AdminLTE
ColorlibHQ/AdminLTE
AdminLTE - Free admin dashboard template based on Bootstrap 5
ppt-master
hugohe3/ppt-master
AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He