interface

AdminListResultsRendererProps

Props for a custom collection results layout.

Example

ts
<script lang="ts">
  import type { AdminListResultsRendererProps } from '@riducms/plugin';
  import { Link } from '@riducms/admin/routing';
  let { list }: AdminListResultsRendererProps = $props();
</script>

{#each list.documents as document (document.id)}
  <Link to={list.documentHref(document)}>{list.title(document)}</Link>
{/each}

Component props

PropertyTypeDescription
collectionSchemaCollectionCollection configuration for the currently displayed list.
listAdminCollectionListCurrent documents, titles, destinations, selection state, and selection commands. Ridu continues to own the list requests.
i18nAdminI18nCurrent interface translations and formatting.

How it works

Register the component in listResultsRenderers with an exact collection slug. Use coreViews instead when replacing the entire page.

Read the current list directly; do not fetch its documents again. The surrounding list retains search, filters, pagination, empty/error states, and bulk actions.

Full signature

Related guides