Skip to main content

LinkItemBlock

Overview​

LinkItemBlock represents a block of content that contains a link to another resource, such as a page or an external URL. It also supports optional labels, images, and sizes.

Attributes​

id​

type: string

A unique identifier for the link item block.

type​

type: literal = 'linkItem'

Discriminant for this block type.

label​

type: string (optional)

The label text displayed with the link.

imageUrl​

type: string (optional)

The URL of the image associated with the link.

type: UrlStorefrontLink (optional)

A link object pointing to a specific resource.

size​

type: ImageLinkSize (optional)

The size configuration for the link item block.