Skip to main content

Detail Section

Add toDiv / container

Role attribute

Every instance of this component carries:

Add this attribute
Namewf-algolia-element
Valuedetail
Required1 attribute
IndexRequired

Algolia index to fetch the record from.

Accepts e.g. acme_blog_prod

Optional4 attributes
Object ID field

Advanced. The record attribute matched when you read the ID from the URL path or a CMS field. Usually "slug". It does not apply to the default "?id=" option.

Accepts e.g. slug

Object ID from

Read the record ID from the URL path instead of an "?id=" value. Use "path" for the last part of the address, like /products/blue-widget. Leave empty to use "?id=" instead.

Accepts e.g. path

Record ID parameter

Name of the URL value that holds the record ID. Default is "id", so links look like ?id=abc123. Only change this if your links use a different name, like ?product=abc123.

Accepts e.g. id

Object ID value

Set the record ID directly, or bind a Webflow CMS field. Use this on a CMS Collection page so each page knows its own record. This overrides the URL path and "?id=" options above.

Accepts e.g. abc123

Elements inside it

These roles are placed inside this component, not on their own:

detail
└─ array-wrapper
└─ array-item
  • — Container on a detail page whose array-item template repeats per array entry.
    • — Template cloned once per entry of an array field on a detail record.