Web platform features explorer

Ambient light sensor

The AmbientLightSensor API returns the current light level in lux of the ambient light level around the device.

Status

Limited availability

MDN documentation

Browser support (view on caniuse.com)

  • Chrome
  • Chrome Android
  • Edge
  • Firefox
  • Firefox for Android
  • Safari
  • Safari on iOS

Developer signals

Votes: 0

If you want this feature to be available in all browsers, vote for it by adding a thumbs up reaction (👍) to this GitHub issue, and leave a comment with more information.