New release
Introducing a visual refresh to Forma 36 React componentsRelease notes
Forma 36

EntityList

StorybookGithub
stable

The EntityList component is used to wrap EntityListItem components. The EntityListItem component is used to represent lists of entities (entries and assets).

Table of contents

How to use EntityList

This component should be used in combination with the EntryListItem components, and should be used to entries or assets when in a list context, for example, a multiple entry reference field. It differs from existing EntryCard/AssetCard components as it's intended use is for lists of entities, not individual ones.

Code examples

  • Entry 1

    (My content type)

    Description

    published
  • Entry 2

    (My content type)

    Description

    draft
  • Entry 3

    (My content type)

    Description

    archived
  • Entry title

    (My content type)

    Description

    draft
  • Other entry title

    (My content type)

    Description

    published