Logo cloud
A simple, responsive collection of partner or technology logos.
<div class="logo-cloud">
<div><div><img src="https://cdn.simpleicons.org/html5/777777" alt="HTML5" width="100" height="40"></div></div>
<div><div><img src="https://cdn.simpleicons.org/css/777777" alt="CSS" width="100" height="40"></div></div>
<div><div><img src="https://cdn.simpleicons.org/javascript/777777" alt="JavaScript" width="100" height="40"></div></div>
<div><div><img src="https://cdn.simpleicons.org/github/777777" alt="GitHub" width="100" height="40"></div></div>
</div>.logo-cloud { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 2rem; padding: 2rem; border-block: 1px solid var(--border); }
.logo-cloud img { width: 100px; height: 40px; object-fit: contain; }export default function decorate(block) {
block.querySelectorAll('img').forEach((image) => { image.loading ||= 'lazy'; });
}Installation
Run the source CLI from a Blocks UI checkout. This package is not published to npm.
node packages/cli/index.js add logo-cloudOr copy the source files above. Include tokens.css and base.css once in your project.
Usage
Use the authored row-and-column structure, then let the standalone runtime discover and enhance the block.
<div class="logo-cloud">
<div><div><img src="https://cdn.simpleicons.org/html5/777777" alt="HTML5" width="100" height="40"></div></div>
<div><div><img src="https://cdn.simpleicons.org/css/777777" alt="CSS" width="100" height="40"></div></div>
<div><div><img src="https://cdn.simpleicons.org/javascript/777777" alt="JavaScript" width="100" height="40"></div></div>
<div><div><img src="https://cdn.simpleicons.org/github/777777" alt="GitHub" width="100" height="40"></div></div>
</div>import decorate from './blocks/logo-cloud/logo-cloud.js';
document.querySelectorAll('.logo-cloud').forEach(decorate);Variants
Choose a variant in the live preview. Add its class to the authored block.
defaultAccessibility & behavior
Semantic HTML, visible focus states, shared contrast-aware tokens, and responsive styles provide an accessible foundation. Preserve labels and heading hierarchy when customizing.
Multiple instances are supported. Layouts adapt to smaller viewports. No npm dependencies are required at runtime.
AEM usage
Copy the canonical CSS and JavaScript into your EDS block folder. Use the same row-and-column authoring structure shown above and let your existing AEM loader call the default decorator.
Standalone verified. EDS markup compatible. Live AEM integration has not been verified.