Nest some of the card component props under an image object

Created on 29 July 2025, 14 days ago

Overview

Follow up from https://git.drupalcode.org/project/experience_builder/-/merge_requests/1...

In https://www.drupal.org/project/experience_builder/issues/3535453 📌 Create an Image SDC that can be included by other SDCs Active a set of example card components was created, which contains a mixture of image related props (src, alt, width etc) and text relating to the card (e.g. content, footer). They are all top level props.

Additionally, look at renaming card-with-local-image to distinguish that it's testing any available image within the site, as opposed to the image shipped with the component.

Proposed resolution

Nest the image related props e.g. src becomes image.src

📌 Task
Status

Active

Version

1.0

Component

Component sources

Created by

🇬🇧United Kingdom justafish London, UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024