Holo Card
Catch a material sample in a shifting foil reflection.
HTML
<rl-holo-card>
<a href="/components/carousel" class="rl-foil">
<span class="rl-foil-ink" aria-hidden="true"></span>
<span class="rl-foil-top"><span>Studio materials</span><span aria-hidden="true">↗</span></span>
<span class="rl-foil-title">Brushed nickel</span>
<span class="rl-foil-meta">Arc collection · Finish gallery</span>
</a>
</rl-holo-card>Tilt follows a fine pointer. Reduced motion keeps the swatch still. The link works with keyboard and touch.
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-gallery.css">
<script defer src="/mero.js"></script>
<script defer src="/mero-gallery.js"></script>