# PublicationIndexModule

Source: https://ardo-docs.dev/v6/en/api-reference/types/publicationindexmodule

Exports of `publication.components.index`.

```ts
import type { PublicationIndexModule } from "ardo/ui"

type PublicationIndexModule = {
    default: ComponentType<PublicationIndexProps>;
    meta?: (args: PublicationIndexMetaArgs) => ArdoMetaDescriptor[];
    /**
     * Page data that the root reads with `useArdoPage().frontmatter`, as it reads a post's
     * frontmatter. Ardo calls it when it renders the route, on the server and when the page
     * hydrates, like `meta`. Without it, the page has no frontmatter.
     */
    frontmatter?: (args: PublicationIndexFrontmatterArgs) => Record<string, unknown>;
};
```

## Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| ` default ` | ` ComponentType< `[` PublicationIndexProps `](<https://ardo-docs.dev/v6/en/api-reference/types/publicationindexprops/>)` > ` | Yes |  |
| ` meta ` | ` (args: ` [` PublicationIndexMetaArgs `](<https://ardo-docs.dev/v6/en/api-reference/types/publicationindexmetaargs/>)` ) => ` [` ArdoMetaDescriptor `](<https://ardo-docs.dev/v6/en/api-reference/types/ardometadescriptor/>)` [] ` | No |  |
| ` frontmatter ` | ` (args: ` [` PublicationIndexFrontmatterArgs `](<https://ardo-docs.dev/v6/en/api-reference/types/publicationindexfrontmatterargs/>)` ) => Record<string, unknown> ` | No | Page data that the root reads with `useArdoPage().frontmatter`, as it reads a post's frontmatter. Ardo calls it when it renders the route, on the server and when the page hydrates, like `meta`. Without it, the page has no frontmatter. |
