Feature grid

The important details, at a glance. A responsive grid of capabilities.

Installation

Run the source CLI from a Blocks UI checkout. This package is not published to npm.

node packages/cli/index.js add feature-grid

Or 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="feature-grid">
  <div><div><h3>Native web standards</h3><p>Semantic HTML, scoped CSS, and small ES modules. Nothing between you and the platform.</p></div></div>
  <div><div><h3>Accessible foundations</h3><p>Keyboard interactions, meaningful structure, and visible focus states built in.</p></div></div>
  <div><div><h3>Your source code</h3><p>Copy each file into your project. Customize freely, without fighting an abstraction.</p></div></div>
  <div><div><h3>Any content source</h3><p>Use static HTML or EDS row-and-column content. Keep one block implementation.</p></div></div>
</div>
import decorate from './blocks/feature-grid/feature-grid.js';
document.querySelectorAll('.feature-grid').forEach(decorate);

Variants

Choose a variant in the live preview. Add its class to the authored block.

default

Accessibility & 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.

Compatibility

Standalone verified. EDS markup compatible. Live AEM integration has not been verified.

Edit this example on GitHub

Search documentation

Search the docs, components, and blocks. Use Tab to select a result.