interface
AdminListResultsRendererProps
Props for a custom collection results layout.
Example
<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
| Property | Type | Description |
|---|---|---|
collection | SchemaCollection | Collection configuration for the currently displayed list. |
list | AdminCollectionList | Current documents, titles, destinations, selection state, and selection commands. Ridu continues to own the list requests. |
i18n | AdminI18n | Current 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
interface AdminListResultsRendererProps { ... }