List can be used to display a list of pages. They can be defined either dynamically - by search query, tags or from a parent page - or as a static list of items.
List built from child pages of a root page. In this example the depth is 1 level but deeper structures can be configured.
- jcr:primaryType: nt:unstructured
- showModificationDate: false
- jcr:createdBy: admin
- linkItems: false
- jcr:lastModifiedBy: admin
- jcr:created:
- parentPage: /content/core-components-examples/library
- sortOrder: asc
- showDescription: false
- jcr:lastModified:
- sling:resourceType: core/wcm/components/list/v2/list
- childDepth: 1
- listFrom: children
-
Carousel
-
Content Fragment
-
Image
-
List
-
Separator
-
Social Sharing
-
Tabs
-
Teaser
-
Text
-
Title
-
News
List built from a bespoke set of pages defined directly in the component edit dialog.
- jcr:primaryType: nt:unstructured
- showModificationDate: false
- jcr:createdBy: admin
- tagsMatch: any
- linkItems: false
- jcr:lastModifiedBy: admin
- jcr:created:
- sortOrder: asc
- pages: /content/core-components-examples/library/carousel,/content/core-components-examples/library/teaser,/content/core-components-examples/library/text
- showDescription: false
- jcr:lastModified:
- sling:resourceType: core/wcm/components/list/v2/list
- childDepth: 1
- listFrom: static
-
Carousel
-
Teaser
-
Text
List built from a search query term under a defined root page.
- jcr:primaryType: nt:unstructured
- showModificationDate: false
- jcr:createdBy: admin
- tagsMatch: any
- linkItems: false
- jcr:lastModifiedBy: admin
- jcr:created:
- sortOrder: asc
- query: Carousel
- showDescription: false
- searchIn: /content/core-components-examples/library
- jcr:lastModified:
- sling:resourceType: core/wcm/components/list/v2/list
- childDepth: 1
- listFrom: search
-
Carousel
List built from a set of tags to be found related to pages under a root page. Uses the default match Any tag feature, but it's also possible to configure the component to match all tags.
- jcr:primaryType: nt:unstructured
- showModificationDate: false
- jcr:createdBy: admin
- tagsMatch: any
- linkItems: false
- jcr:lastModifiedBy: admin
- jcr:created:
- sortOrder: asc
- tagsSearchRoot: /content/core-components-examples/library
- tags: core-components-examples:component-type/atom
- showDescription: false
- jcr:lastModified:
- sling:resourceType: core/wcm/components/list/v2/list
- childDepth: 1
- listFrom: tags
-
Image
List built from child pages, with the sort order set to order by title, descending. It is also possible to order by the last modified date.
- jcr:primaryType: nt:unstructured
- showModificationDate: false
- jcr:createdBy: admin
- linkItems: false
- orderBy: title
- jcr:lastModifiedBy: admin
- jcr:created:
- parentPage: /content/core-components-examples/library
- sortOrder: desc
- showDescription: false
- jcr:lastModified:
- sling:resourceType: core/wcm/components/list/v2/list
- childDepth: 1
- listFrom: children
-
Title
-
Text
-
Teaser
-
Tabs
-
Social Sharing
-
Separator
-
News
-
List
-
Image
-
Content Fragment
-
Carousel
List with the maximum number of items set to 4.
- jcr:primaryType: nt:unstructured
- showModificationDate: false
- jcr:createdBy: admin
- linkItems: false
- jcr:lastModifiedBy: admin
- jcr:created:
- parentPage: /content/core-components-examples/library
- sortOrder: asc
- maxItems: 4
- showDescription: false
- jcr:lastModified:
- sling:resourceType: core/wcm/components/list/v2/list
- childDepth: 1
- listFrom: children
-
Carousel
-
Content Fragment
-
Image
-
List
The rendering of the list items can be configured to optionally display a link to the page, page description and last modified date.
- jcr:primaryType: nt:unstructured
- showModificationDate: true
- jcr:createdBy: admin
- linkItems: true
- jcr:lastModifiedBy: admin
- jcr:created:
- parentPage: /content/core-components-examples/library
- sortOrder: asc
- showDescription: true
- jcr:lastModified:
- sling:resourceType: core/wcm/components/list/v2/list
- childDepth: 1
- listFrom: children
-
Carousel
2022-12-22
Cycle through content panels
-
Content Fragment
2019-01-16
Add a content fragment asset
-
Image
2019-02-15
Display an image asset
-
List
2019-01-16
Display a list of pages
-
Separator
2019-01-09
Display a section divider
-
Social Sharing
2019-01-09
Add social sharing links
-
Tabs
2019-01-22
Switchable content panels
-
Teaser
2022-12-22
Link an image and text
-
Text
2019-01-22
Display a rich text paragraph
-
Title
2019-01-16
Display a page heading
-
News
2023-01-25