githubEdit

Product card

Overview

A flexible product card block for displaying a single product and its associated content blocks. This block is designed to be used within grid or slider layouts and supports a wide range of content types, including rich text, images, videos, icons, product price, badges, swatches, and media. The block offers extensive customization options for spacing, color scheme, border style, layout, and responsive visibility, making it suitable for various merchandising and design needs.

Common use cases

  • Use within grid or slider sections to create product galleries or featured product displays

  • Configure the content blocks to highlight key product information, such as price, badges, and media

  • Adjust spacing and color settings to match your theme's design language and improve visual hierarchy

  • Use the visibility settings to tailor the product card display for different devices and layouts

  • Leverage scroll animations to add engaging motion effects to product cards

Compatible blocks

The following blocks can be nested within this block:

Block settings

Content

Setting
Description
Options

Product

Select the product to display

Product picker

Spacing

Setting
Description
Options

Enable horizontal padding

Adds horizontal padding around the product card

Checkbox (default: false)

Enable vertical padding

Adds vertical padding around the product card

Checkbox (default: false)

Gap size

Spacing between content blocks within the card

• None • Default (default) • XS • SM • MD • LG • XL

Color

Setting
Description
Options

Color scheme

Controls the background and text colors

• Body (default) • Neutral • Accent 1 • Accent 2 • Accent 3 • Shade 1 • Shade 2 • Shade 3 • Primary • Secondary • Tertiary • Blur • Transparent

Color border

Controls the border color

• Body • Subtle (default) • Strong • Primary • Secondary • Tertiary • None

Style

Setting
Description
Options

Border position

Controls where borders appear

• None (default) • Top • Bottom • Left • Right • Top and bottom • Left and right • All

Show underline on hover

Displays an underline effect when hovering over the card

Checkbox (default: false)

Display

Setting
Description
Options

Visibility

Controls when the block is visible

• All (default) • Mobile only • Desktop only

Scroll animation

Animation effect when the card scrolls into view

• None (default) • Fade • Slide up • Slide down • Slide left • Slide right • Zoom

Last updated

Was this helpful?