# Logo cloud: free Shopify section

> A static grid or row of press, partner or stockist logos with grayscale-to-color hover, separator lines or cards, and logo height per device.

Logo cloud is a free Shopify section that shows press, partner or stockist logos in an even grid or a wrapping row, each with an optional link. Logos can sit in grayscale at reduced opacity and turn to full color on hover, with plain, separator-line or card styles, and it works in Online Store 2.0 themes without an app or JavaScript.

- **Category:** Social proof and trust
- **Use on:** Home, About, Landing pages, Any page
- **Reads:** Content only
- **Size:** 19 KB in 2 files, no JavaScript
- **License:** MIT, © 2026 Lintel
- **Page:** https://lintelagency.com/resources/shopify-sections/logo-cloud
- **Live demo:** https://lintelagency.com/resources/shopify-sections/demo/lib-logo-cloud.html
- **Added:** 2026-10-02

## What it’s for

- "As seen in" press logos under the home page hero
- Stockists or retail partners on an About or wholesale page
- Certification or material partner marks on a landing page

## Editor settings

In the theme editor the section is called “Lib · Logo cloud”. IDs, types, labels and defaults come from the section’s schema; the labels are what the theme editor shows.

### Content

| ID | Type | Label | Default | Options or range |
| --- | --- | --- | --- | --- |
| `heading` | `inline_richtext` | Heading | Stocked by independent shops we love |  |
| `heading_tag` | `select` | Heading tag | h2 | `h1`, `h2`, `h3`, `p` |
| `heading_size` | `select` | Heading size | medium | `small`, `medium`, `large`, `xlarge` |
| `text` | `richtext` | Text | `<p>Find our ceramics and linen in these stores and studios.</p>` |  |

### Logos

| ID | Type | Label | Default | Options or range |
| --- | --- | --- | --- | --- |
| `logo_style` | `select` | Style | lines | `plain`, `lines`, `cards` |
| `logo_height` | `range` | Logo height on desktop | `48` | 16–120 px, step 4 |
| `logo_height_mobile` | `range` | Logo height on mobile | `36` | 16–96 px, step 4 |
| `grayscale` | `checkbox` | Show logos in grayscale | `true` |  |
| `hover_color` | `checkbox` | Full color and opacity on hover | `true` |  |
| `opacity` | `range` | Logo opacity | `70` | 20–100 %, step 5 |
| `blend` | `checkbox` | Blend white logo backgrounds into the section | `false` |  |
| `card_radius` | `range` | Card corner radius | `12` | 0–32 px, step 2 |

### Layout

| ID | Type | Label | Default | Options or range |
| --- | --- | --- | --- | --- |
| `layout` | `select` | Layout | grid | `grid`, `row` |
| `columns` | `range` | Columns on desktop | `4` | 2–8, step 1 |
| `columns_mobile` | `select` | Columns on mobile | 2 | `2`, `3`, `4` |
| `gap` | `range` | Spacing | `24` | 8–48 px, step 4 |
| `section_width` | `select` | Width | page | `page`, `full` |
| `text_alignment` | `text_alignment` | Alignment on desktop | center |  |
| `text_alignment_mobile` | `select` | Alignment on mobile | center | `left`, `center`, `right` |

### Colors

| ID | Type | Label | Default | Options or range |
| --- | --- | --- | --- | --- |
| `color_bg` | `color` | Background | #FFFFFF |  |
| `color_bg_gradient` | `color_background` | Background gradient | – |  |
| `color_text` | `color` | Text | #1C1917 |  |
| `color_border` | `color` | Lines and card border | #E7E5E4 |  |
| `color_card` | `color` | Card background | #FAFAF9 |  |

### Spacing and visibility

| ID | Type | Label | Default | Options or range |
| --- | --- | --- | --- | --- |
| `padding_top` | `range` | Top padding on desktop | `64` | 0–200 px, step 4 |
| `padding_bottom` | `range` | Bottom padding on desktop | `64` | 0–200 px, step 4 |
| `padding_top_mobile` | `range` | Top padding on mobile | `40` | 0–160 px, step 4 |
| `padding_bottom_mobile` | `range` | Bottom padding on mobile | `40` | 0–160 px, step 4 |
| `show_on` | `select` | Show on | all | `all`, `desktop`, `mobile` |
| `anchor_id` | `text` | Anchor ID | – |  |

## Blocks

Up to 24 blocks in total.

### Logo (`logo`)

| ID | Type | Label | Default | Options or range |
| --- | --- | --- | --- | --- |
| `image` | `image_picker` | Logo | – |  |
| `name` | `text` | Name | – |  |
| `link` | `url` | Link | – |  |
| `new_tab` | `checkbox` | Open link in a new tab | `false` |  |

## Install

### In Shopify admin

1. Work on a copy, not your live theme: in Shopify admin go to **Online Store > Themes**, open the **…** menu on your current theme and choose **Duplicate**.
2. On the copy, open the **…** menu and choose **Edit code**.
3. In the `sections` folder, add a new file named `lib-logo-cloud.liquid` and paste the contents of `sections/lib-logo-cloud.liquid` from the source below. Save.
4. In the `snippets` folder, add `lib-image.liquid` the same way. If a snippet is already there from another Lib section, it is the same file; keep one copy.
5. Open **Customize** on the copy, choose **Add section** and pick **Lib · Logo cloud**. Replace the sample content with your own and set the colors.
6. Preview the copy, then publish it when it looks right.

### With Shopify CLI

From your local theme folder, download the files and push only them to an unpublished theme (find its ID with `shopify theme list`):

```sh
curl -fsSL -o sections/lib-logo-cloud.liquid https://lintelagency.com/resources/shopify-sections/files/lib-logo-cloud.liquid
curl -fsSL -o snippets/lib-image.liquid https://lintelagency.com/resources/shopify-sections/files/lib-image.liquid
shopify theme push --theme <unpublished-theme-id> --only sections/lib-logo-cloud.liquid --only snippets/lib-image.liquid
```

Never push to the live theme: always pass the ID of an unpublished theme and never use `--live` or `--allow-live`. Then add the section in the theme editor as above.

## Files

- [sections/lib-logo-cloud.liquid](https://lintelagency.com/resources/shopify-sections/files/lib-logo-cloud.liquid): goes in `sections/`
- [snippets/lib-image.liquid](https://lintelagency.com/resources/shopify-sections/files/lib-image.liquid): goes in `snippets/`

## Questions

### How is this different from the Marquee section?

Logo cloud is static: every logo is visible at once in a grid or a wrapping row, with nothing moving. Marquee scrolls a strip of logos or text in a loop. Use Logo cloud when the logos should be read at a glance.

### Where does the alt text come from?

From each image's alt text in Shopify Files. If an image has none, the block's optional Name is used as the accessible name of the logo or its link.

### How does the grayscale effect work?

It is a CSS filter with an adjustable opacity. With "Full color and opacity on hover" on, a logo returns to full color when it is hovered or, for linked logos, focused with the keyboard. There is no JavaScript, and the transition is switched off for visitors who prefer reduced motion.

### How many logos can I add, and how does it look on mobile?

Up to 24 logo blocks. The grid shows 2 to 8 columns on desktop, up to 4 on tablets and 2, 3 or 4 on phones; the row layout lets logos keep their own width and wrap. Logo height is set separately for desktop and mobile.

### My logos are JPGs on a white box. Can I hide the box?

Turn on "Blend white logo backgrounds into the section". It uses a multiply blend, which hides white backgrounds on light section colors; on dark backgrounds use SVG or transparent PNG logos instead.

## Source

### sections/lib-logo-cloud.liquid

```liquid
{%- comment -%}
  MIT License · (c) 2026 Lintel · https://lintelagency.com/resources/shopify-sections
{%- endcomment -%}
{%- comment -%}
  Logo cloud: a static grid or wrapping row of partner, press or stockist logos. Each logo can link
  somewhere. Optional grayscale and reduced opacity that turn to full color on hover and keyboard focus,
  plain / separator lines / card styles, logo height per device. HTML and CSS only.
  For a moving strip of logos use the Marquee section instead.
  Depends on: snippets/lib-image.liquid
{%- endcomment -%}

{%- liquid
  assign s = section.settings
  assign heading_tag = s.heading_tag | default: 'h2'
  assign eager = false
  if section.index <= 2
    assign eager = true
  endif
-%}

<div
  class="lib-logo-cloud lib-logo-cloud--{{ s.section_width }}"
  {% if s.anchor_id != blank %}
    id="{{ s.anchor_id | handleize }}"
  {% endif %}
  data-show="{{ s.show_on }}"
  data-layout="{{ s.layout }}"
  data-style="{{ s.logo_style }}"
  data-align="{{ s.text_alignment }}"
  data-align-m="{{ s.text_alignment_mobile }}"
  {% if s.grayscale %}
    data-grayscale
  {% endif %}
  {% if s.hover_color %}
    data-hover
  {% endif %}
  {% if s.blend %}
    data-blend
  {% endif %}
  style="
    --lib-bg: {{ s.color_bg }};
    {% if s.color_bg_gradient != blank %}--lib-bg-image: {{ s.color_bg_gradient }};{% endif %}
    --lib-text: {{ s.color_text }};
    --lib-card: {{ s.color_card }};
    --lib-border: {{ s.color_border }};
    --lib-cols: {{ s.columns }};
    --lib-cols-m: {{ s.columns_mobile }};
    --lib-logo-h: {{ s.logo_height }}px;
    --lib-logo-h-m: {{ s.logo_height_mobile }}px;
    --lib-logo-o: {{ s.opacity | divided_by: 100.0 }};
    --lib-gap: {{ s.gap }}px;
    --lib-radius-card: {{ s.card_radius }}px;
    --lib-pt: {{ s.padding_top }}px;
    --lib-pb: {{ s.padding_bottom }}px;
    --lib-pt-m: {{ s.padding_top_mobile }}px;
    --lib-pb-m: {{ s.padding_bottom_mobile }}px;
  "
>
  <div class="lib-logo-cloud__inner">
    {%- if s.heading != blank or s.text != blank -%}
      <header class="lib-logo-cloud__header">
        {%- if s.heading != blank -%}
          <{{ heading_tag }} class="lib-logo-cloud__heading lib-logo-cloud__heading--{{ s.heading_size }}">
            {{- s.heading -}}
          </{{ heading_tag }}>
        {%- endif -%}
        {%- if s.text != blank -%}
          <div class="lib-logo-cloud__text">{{ s.text }}</div>
        {%- endif -%}
      </header>
    {%- endif -%}

    <div class="lib-logo-cloud__frame">
      <ul class="lib-logo-cloud__list" role="list">
        {%- for block in section.blocks -%}
          {%- liquid
            assign b = block.settings
            if b.image == blank and request.design_mode == false
              continue
            endif
          -%}
          <li class="lib-logo-cloud__item" {{ block.shopify_attributes }}>
            {%- if b.link != blank -%}
              <a
                class="lib-logo-cloud__logo"
                href="{{ b.link }}"
                {% if b.new_tab %}
                  target="_blank" rel="noopener"
                {% endif %}
                {% if b.image.alt == blank and b.name != blank %}
                  aria-label="{{ b.name | escape }}"
                {% endif %}
              >
            {%- else -%}
              <span class="lib-logo-cloud__logo"{% if b.image.alt == blank and b.name != blank %} role="img" aria-label="{{ b.name | escape }}"{% endif %}>
            {%- endif -%}
            {%- render 'lib-image', image: b.image, class: 'lib-logo-cloud__img', sizes: '240px', eager: eager, placeholder: 'logo' -%}
            {%- if b.link != blank -%}
              </a>
            {%- else -%}
              </span>
            {%- endif -%}
          </li>
        {%- endfor -%}
      </ul>
    </div>
  </div>
</div>

{% stylesheet %}
  .lib-logo-cloud {
    background-color: var(--lib-bg);
    background-image: var(--lib-bg-image, none);
    color: var(--lib-text);
    padding: var(--lib-pt) 1rem var(--lib-pb);
  }
  .lib-logo-cloud__inner { max-width: 1200px; margin: 0 auto; }
  .lib-logo-cloud--full .lib-logo-cloud__inner { max-width: none; }
  @media (max-width: 749px) {
    .lib-logo-cloud { padding-top: var(--lib-pt-m); padding-bottom: var(--lib-pb-m); }
    .lib-logo-cloud[data-show='desktop'] { display: none; }
  }
  @media (min-width: 750px) {
    .lib-logo-cloud[data-show='mobile'] { display: none; }
  }

  /* Header and row alignment: desktop, then mobile override. */
  .lib-logo-cloud__header { max-width: 42rem; margin: 0 0 clamp(1.75rem, 4vw, 2.75rem); text-align: left; }
  .lib-logo-cloud[data-align='center'] .lib-logo-cloud__header { margin-inline: auto; text-align: center; }
  .lib-logo-cloud[data-align='right'] .lib-logo-cloud__header { margin-inline-start: auto; text-align: right; }
  @media (max-width: 749px) {
    .lib-logo-cloud[data-align-m='left'] .lib-logo-cloud__header { margin-inline: 0 auto; text-align: left; }
    .lib-logo-cloud[data-align-m='center'] .lib-logo-cloud__header { margin-inline: auto; text-align: center; }
    .lib-logo-cloud[data-align-m='right'] .lib-logo-cloud__header { margin-inline: auto 0; text-align: right; }
  }
  .lib-logo-cloud__heading {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }
  .lib-logo-cloud__heading--small { font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 600; }
  .lib-logo-cloud__heading--large { font-size: clamp(2rem, 4.4vw, 3.25rem); }
  .lib-logo-cloud__heading--xlarge { font-size: clamp(2.5rem, 6vw, 4.5rem); }
  .lib-logo-cloud__text { margin-top: 0.75rem; font-size: 1.0625rem; line-height: 1.6; opacity: 0.75; }
  .lib-logo-cloud__text > :first-child { margin-top: 0; }
  .lib-logo-cloud__text > :last-child { margin-bottom: 0; }

  /* Grid: columns per device. Row: logos at their own width, wrapping, aligned like the heading. */
  .lib-logo-cloud__list {
    display: grid;
    grid-template-columns: repeat(var(--lib-cols-m), minmax(0, 1fr));
    gap: var(--lib-gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  @media (min-width: 750px) {
    .lib-logo-cloud__list { grid-template-columns: repeat(min(var(--lib-cols), 4), minmax(0, 1fr)); }
  }
  @media (min-width: 990px) {
    .lib-logo-cloud__list { grid-template-columns: repeat(var(--lib-cols), minmax(0, 1fr)); }
  }
  .lib-logo-cloud[data-layout='row'] .lib-logo-cloud__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    column-gap: calc(var(--lib-gap) * 2);
  }
  .lib-logo-cloud[data-layout='row'][data-align='center'] .lib-logo-cloud__list { justify-content: center; }
  .lib-logo-cloud[data-layout='row'][data-align='right'] .lib-logo-cloud__list { justify-content: flex-end; }
  @media (max-width: 749px) {
    .lib-logo-cloud[data-layout='row'][data-align-m='left'] .lib-logo-cloud__list { justify-content: flex-start; }
    .lib-logo-cloud[data-layout='row'][data-align-m='center'] .lib-logo-cloud__list { justify-content: center; }
    .lib-logo-cloud[data-layout='row'][data-align-m='right'] .lib-logo-cloud__list { justify-content: flex-end; }
  }

  .lib-logo-cloud__item { display: flex; align-items: center; justify-content: center; min-width: 0; }
  .lib-logo-cloud__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    color: inherit;
    border-radius: 4px;
  }
  a.lib-logo-cloud__logo:focus-visible { outline: 2px solid var(--lib-text); outline-offset: 4px; }
  .lib-logo-cloud__img {
    display: block;
    width: auto;
    max-width: 100%;
    height: var(--lib-logo-h-m);
    object-fit: contain;
    opacity: var(--lib-logo-o);
    transition: filter 0.3s ease, opacity 0.3s ease;
  }
  @media (min-width: 750px) {
    .lib-logo-cloud__img { height: var(--lib-logo-h); }
  }
  svg.lib-logo-cloud__img { width: calc(var(--lib-logo-h) * 2.5); max-width: 100%; fill: currentColor; }
  .lib-logo-cloud[data-grayscale] .lib-logo-cloud__img { filter: grayscale(1); }
  .lib-logo-cloud[data-blend] .lib-logo-cloud__img { mix-blend-mode: multiply; }
  .lib-logo-cloud[data-hover] .lib-logo-cloud__logo:hover .lib-logo-cloud__img,
  .lib-logo-cloud[data-hover] .lib-logo-cloud__logo:focus-visible .lib-logo-cloud__img { filter: none; opacity: 1; }

  /* Style: separator lines between cells. The frame clips the outer edge lines. */
  .lib-logo-cloud[data-style='lines'] .lib-logo-cloud__frame { overflow: hidden; }
  .lib-logo-cloud[data-style='lines'] .lib-logo-cloud__list {
    gap: 0;
    margin-inline-end: -1px;
    margin-block-end: -1px;
  }
  .lib-logo-cloud[data-style='lines'] .lib-logo-cloud__item {
    padding: calc(var(--lib-gap) + 0.75rem) var(--lib-gap);
    border-inline-end: 1px solid var(--lib-border);
    border-block-end: 1px solid var(--lib-border);
  }
  .lib-logo-cloud[data-style='lines'][data-layout='row'] .lib-logo-cloud__item { border-block-end: 0; }
  .lib-logo-cloud[data-style='lines'][data-layout='row'] .lib-logo-cloud__frame { overflow: visible; }
  .lib-logo-cloud[data-style='lines'][data-layout='row'] .lib-logo-cloud__list { margin: 0; row-gap: var(--lib-gap); }
  .lib-logo-cloud[data-style='lines'][data-layout='row'] .lib-logo-cloud__item { padding-block: 0.25rem; }
  .lib-logo-cloud[data-style='lines'][data-layout='row'] .lib-logo-cloud__item:last-child { border-inline-end: 0; }

  /* Style: each logo on a card. */
  .lib-logo-cloud[data-style='cards'] .lib-logo-cloud__item {
    padding: calc(var(--lib-gap) + 0.5rem) calc(var(--lib-gap) + 1rem);
    border-radius: var(--lib-radius-card);
    background: var(--lib-card);
    box-shadow: inset 0 0 0 1px var(--lib-border);
  }

  @media (prefers-reduced-motion: reduce) {
    .lib-logo-cloud__img { transition: none; }
  }
{% endstylesheet %}

{% schema %}
{
  "name": "Lib · Logo cloud",
  "tag": "section",
  "class": "lib-section",
  "max_blocks": 24,
  "settings": [
    { "type": "header", "content": "Content" },
    { "type": "inline_richtext", "id": "heading", "label": "Heading", "default": "Stocked by independent shops we love" },
    {
      "type": "select",
      "id": "heading_tag",
      "label": "Heading tag",
      "info": "Use H1 only when this is the page's main heading.",
      "options": [
        { "value": "h1", "label": "H1" },
        { "value": "h2", "label": "H2" },
        { "value": "h3", "label": "H3" },
        { "value": "p", "label": "Paragraph" }
      ],
      "default": "h2"
    },
    {
      "type": "select",
      "id": "heading_size",
      "label": "Heading size",
      "options": [
        { "value": "small", "label": "Small" },
        { "value": "medium", "label": "Medium" },
        { "value": "large", "label": "Large" },
        { "value": "xlarge", "label": "Extra large" }
      ],
      "default": "medium"
    },
    { "type": "richtext", "id": "text", "label": "Text", "default": "<p>Find our ceramics and linen in these stores and studios.</p>" },

    { "type": "header", "content": "Logos" },
    {
      "type": "select",
      "id": "logo_style",
      "label": "Style",
      "options": [
        { "value": "plain", "label": "Plain" },
        { "value": "lines", "label": "Separator lines" },
        { "value": "cards", "label": "Cards" }
      ],
      "default": "lines"
    },
    { "type": "range", "id": "logo_height", "label": "Logo height on desktop", "info": "Maximum height; wide logos also shrink to fit their column.", "min": 16, "max": 120, "step": 4, "unit": "px", "default": 48 },
    { "type": "range", "id": "logo_height_mobile", "label": "Logo height on mobile", "min": 16, "max": 96, "step": 4, "unit": "px", "default": 36 },
    { "type": "checkbox", "id": "grayscale", "label": "Show logos in grayscale", "default": true },
    { "type": "checkbox", "id": "hover_color", "label": "Full color and opacity on hover", "default": true },
    { "type": "range", "id": "opacity", "label": "Logo opacity", "min": 20, "max": 100, "step": 5, "unit": "%", "default": 70 },
    { "type": "checkbox", "id": "blend", "label": "Blend white logo backgrounds into the section", "info": "For JPG logos on a white box. Works on light backgrounds only.", "default": false },
    { "type": "range", "id": "card_radius", "label": "Card corner radius", "min": 0, "max": 32, "step": 2, "unit": "px", "default": 12, "visible_if": "{{ section.settings.logo_style == 'cards' }}" },

    { "type": "header", "content": "Layout" },
    {
      "type": "select",
      "id": "layout",
      "label": "Layout",
      "options": [
        { "value": "grid", "label": "Grid (equal columns)" },
        { "value": "row", "label": "Row (logos at their own width, wrapping)" }
      ],
      "default": "grid"
    },
    { "type": "range", "id": "columns", "label": "Columns on desktop", "info": "Tablets show up to 4.", "min": 2, "max": 8, "step": 1, "default": 4, "visible_if": "{{ section.settings.layout == 'grid' }}" },
    {
      "type": "select",
      "id": "columns_mobile",
      "label": "Columns on mobile",
      "options": [
        { "value": "2", "label": "2" },
        { "value": "3", "label": "3" },
        { "value": "4", "label": "4" }
      ],
      "default": "2",
      "visible_if": "{{ section.settings.layout == 'grid' }}"
    },
    { "type": "range", "id": "gap", "label": "Spacing", "min": 8, "max": 48, "step": 4, "unit": "px", "default": 24 },
    {
      "type": "select",
      "id": "section_width",
      "label": "Width",
      "options": [
        { "value": "page", "label": "Page width" },
        { "value": "full", "label": "Full width" }
      ],
      "default": "page"
    },
    { "type": "text_alignment", "id": "text_alignment", "label": "Alignment on desktop", "info": "Heading, and logos in the row layout.", "default": "center" },
    {
      "type": "select",
      "id": "text_alignment_mobile",
      "label": "Alignment on mobile",
      "options": [
        { "value": "left", "label": "Left" },
        { "value": "center", "label": "Center" },
        { "value": "right", "label": "Right" }
      ],
      "default": "center"
    },

    { "type": "header", "content": "Colors" },
    { "type": "color", "id": "color_bg", "label": "Background", "default": "#FFFFFF" },
    { "type": "color_background", "id": "color_bg_gradient", "label": "Background gradient", "info": "Optional. Covers the background color." },
    { "type": "color", "id": "color_text", "label": "Text", "default": "#1C1917" },
    { "type": "color", "id": "color_border", "label": "Lines and card border", "default": "#E7E5E4" },
    { "type": "color", "id": "color_card", "label": "Card background", "default": "#FAFAF9", "visible_if": "{{ section.settings.logo_style == 'cards' }}" },

    { "type": "header", "content": "Spacing and visibility" },
    { "type": "range", "id": "padding_top", "label": "Top padding on desktop", "min": 0, "max": 200, "step": 4, "unit": "px", "default": 64 },
    { "type": "range", "id": "padding_bottom", "label": "Bottom padding on desktop", "min": 0, "max": 200, "step": 4, "unit": "px", "default": 64 },
    { "type": "range", "id": "padding_top_mobile", "label": "Top padding on mobile", "min": 0, "max": 160, "step": 4, "unit": "px", "default": 40 },
    { "type": "range", "id": "padding_bottom_mobile", "label": "Bottom padding on mobile", "min": 0, "max": 160, "step": 4, "unit": "px", "default": 40 },
    {
      "type": "select",
      "id": "show_on",
      "label": "Show on",
      "options": [
        { "value": "all", "label": "All devices" },
        { "value": "desktop", "label": "Desktop only" },
        { "value": "mobile", "label": "Mobile only" }
      ],
      "default": "all"
    },
    { "type": "text", "id": "anchor_id", "label": "Anchor ID", "info": "Optional. Link to this section with #your-id." }
  ],
  "blocks": [
    {
      "type": "logo",
      "name": "Logo",
      "settings": [
        { "type": "image_picker", "id": "image", "label": "Logo", "info": "SVG or transparent PNG works best. Alt text comes from the image." },
        { "type": "text", "id": "name", "label": "Name", "info": "Optional. Used as the accessible name when the image has no alt text." },
        { "type": "url", "id": "link", "label": "Link" },
        { "type": "checkbox", "id": "new_tab", "label": "Open link in a new tab", "default": false }
      ]
    }
  ],
  "presets": [
    {
      "name": "Lib · Logo cloud",
      "blocks": [
        { "type": "logo", "settings": { "name": "Partner 1" } },
        { "type": "logo", "settings": { "name": "Partner 2" } },
        { "type": "logo", "settings": { "name": "Partner 3" } },
        { "type": "logo", "settings": { "name": "Partner 4" } },
        { "type": "logo", "settings": { "name": "Partner 5" } },
        { "type": "logo", "settings": { "name": "Partner 6" } },
        { "type": "logo", "settings": { "name": "Partner 7" } },
        { "type": "logo", "settings": { "name": "Partner 8" } }
      ]
    }
  ]
}
{% endschema %}
```

### snippets/lib-image.liquid

```liquid
{%- comment -%}
  MIT License · (c) 2026 Lintel · https://lintelagency.com/resources/shopify-sections
{%- endcomment -%}
{% doc %}
  Responsive image with optional art direction: a separate mobile image (below 750px),
  each honouring its own focal point from the theme editor. Falls back to a placeholder.

  @param {image} [image] - Desktop image (also used on mobile when no mobile image is set)
  @param {image} [image_mobile] - Mobile image, below 750px
  @param {string} [class] - Class for the img element
  @param {string} [sizes] - sizes attribute for the desktop image (default 100vw)
  @param {boolean} [eager] - Load immediately with high fetch priority (use for the first sections on a page)
  @param {string} [placeholder] - placeholder_svg_tag name when no image is set (default 'lifestyle-1')

  @example
  {% render 'lib-image', image: section.settings.image, image_mobile: section.settings.image_mobile, class: 'lib-hero__img', sizes: '(min-width: 990px) 50vw, 100vw', eager: true %}
{% enddoc %}

{%- liquid
  assign desktop = image
  if desktop == blank
    assign desktop = image_mobile
  endif
  assign img_sizes = sizes | default: '100vw'
  assign img_loading = 'lazy'
  assign img_priority = 'auto'
  if eager
    assign img_loading = 'eager'
    assign img_priority = 'high'
  endif
  assign art = false
  if image != blank and image_mobile != blank
    assign art = true
  endif
-%}

{%- if desktop != blank -%}
  <picture
    class="lib-picture{% if art %} lib-picture--art{% endif %}"
    {% if art %}
      style="--lib-pos-m: {{ image_mobile.presentation.focal_point | default: '50% 50%' }};"
    {% endif %}
  >
    {%- if art -%}
      <source
        media="(max-width: 749px)"
        srcset="
          {{ image_mobile | image_url: width: 375 }} 375w,
          {{ image_mobile | image_url: width: 750 }} 750w,
          {{ image_mobile | image_url: width: 1100 }} 1100w,
          {{ image_mobile | image_url: width: 1500 }} 1500w
        "
        sizes="100vw"
        width="{{ image_mobile.width }}"
        height="{{ image_mobile.height }}"
      >
    {%- endif -%}
    {{
      desktop
      | image_url: width: 2400
      | image_tag:
        class: class,
        loading: img_loading,
        fetchpriority: img_priority,
        sizes: img_sizes,
        widths: '600, 900, 1200, 1600, 2000, 2400'
    }}
  </picture>
{%- else -%}
  {{ placeholder | default: 'lifestyle-1' | placeholder_svg_tag: class }}
{%- endif -%}

{% stylesheet %}
  .lib-picture { display: contents; }
  @media (max-width: 749px) {
    /* image_tag sets the desktop focal point inline; the mobile image needs its own. */
    .lib-picture--art img { object-position: var(--lib-pos-m) !important; }
  }
{% endstylesheet %}
```

## License

MIT License, © 2026 Lintel. Free to use, change and ship in your own store or in client work; keep the license line at the top of each file.
