v1.2.6
References
<References /> lists every MDX page that cites a manifest through referencedManifests. Drop it on work layouts so readers can follow contextual essays without leaving the page template.
- Referenced by
- About
<References id="https://api.dc.library.northwestern.edu/api/v2/works/d4c62d7f-f50d-4b29-85e0-5d380675bec7?as=iiif" />The component quietly returns
nullwhen no essays reference the manifest. Use a surrounding<section>to supply your own fallback copy if needed.
Props
| Prop | Type | Required | Notes |
|---|---|---|---|
id | string | Manifest URI to inspect. Defaults to the manifest currently being rendered on a work page. | |
title | string | Heading text shown above the backlink list. Defaults to Referenced by. | |
className | string | Additional classes applied to the wrapping <dl>. | |
...rest | any | Passed through to the <dl> container. |
Examples
Work layout default
Let the component infer the manifest from the page context inside content/works/_layout.mdx.
content/works/_layout.mdx
<section className="space-y-4"> <h2>Context</h2> <References /></section>Custom title
Rename the heading to match your editorial voice.
<References id="https://api.dc.library.northwestern.edu/api/v2/works/4bdb5a22-6c7f-498d-8e6e-e49ea9bc4778?as=iiif" title="Cited in"/>Scoped styling
Apply a custom class when the references sit beside metadata so you can style the definition list differently from the default.
<References id="https://api.dc.library.northwestern.edu/api/v2/works/4bdb5a22-6c7f-498d-8e6e-e49ea9bc4778?as=iiif" className="custom-references-class"/>