Mask
Crop an image while keeping its alternative text.

HTML
<figure class="rl-mask-sample"><img src="/studio-lamp.webp" width="1120" height="747" alt="Arc Task Lamp in warm ivory" loading="lazy"><figcaption>Soft ivory</figcaption></figure>Use in your app
Copy these tags into your page head once. Serve the files at the paths shown, then add the example’s template to your page.
Page assets
<link rel="stylesheet" href="/mero.css">
<link rel="stylesheet" href="/mero-composition.css">
<script defer src="/mero.js"></script>
<script defer src="/mero-composition.js"></script>