Intrinsic ratio component

Provides placeholder space for images, according to their aspect ratio, which prevents layout jumps as images load.

id: intrinsic_ratio
title: 'Intrinsic ratio'
description: 'Provides placeholder space for images, according to their aspect ratio, which prevents layout jumps as images load.'
class: Drupal\ambientimpact_media\Plugin\AmbientImpact\Component\IntrinsicRatio
provider: ambientimpact_media
{  }
component.intrinsic_ratio:
  css:
    layout:
      components/intrinsic_ratio/intrinsic_ratio.css: {  }