Ambient CSS
Ambient CSS is a small design system split into two packages:
@ambientcss/css: lighting primitives and utility classes.@ambientcss/components: React controls built on those primitives.
Concept summary
Ambient CSS treats UI like front-view physical hardware under a shared two-light setup (key + fill).
- Orthographic front view is assumed: depth comes from shading, not perspective.
- Directional lighting (
lightX,lightY) keeps highlights and shadows coherent across all controls. - Key/fill intensity balance controls contrast, from soft matte surfaces to high-relief industrial looks.
Read Guide > Concept for the full model.
What you can build
- Hardware-style buttons and toggles.
- Mixer-style knobs, sliders, and faders.
- Light-direction-aware panels and surfaces.
Docs map
- Start with
Guide > Getting Started. - Use Guide > Concept for the lighting/shadow model.
- Use
@ambientcss/componentspages for per-component props and examples. - Use
@ambientcss/csspages for utility classes and recipes.
Quick links
- Demo app: https://ambientcss.vercel.app/
- GitHub repository: https://github.com/kikkupico/ambientcss