githubEdit

Article card

Overview

A flexible article card block for displaying a single article 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, and article-specific information. The block offers extensive customization options for spacing, color scheme, border style, layout, and responsive visibility, making it suitable for various blog and content display needs.

Common use cases

  • Use within grid or slider sections to create article galleries or featured blog post displays

  • Configure the content blocks to highlight key article information, such as title, description, and featured image

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

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

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

Compatible blocks

The following blocks can be nested within this block:

Block settings

Content

Setting
Description
Options

Article

Select the article to display

Article picker

Spacing

Setting
Description
Options

Enable horizontal padding

Adds horizontal padding around the article card

Checkbox (default: false)

Enable vertical padding

Adds vertical padding around the article 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?