Skip to content
Get Pro

Document Reference

A source card that preserves document identity, location, metadata, and the cited excerpt.

Loading component preview…

Installation

Add the component source directly to your project.

pnpm dlx shadcn@latest add https://pastaui.com/r/document-reference.json

API reference

Document Reference

Document Reference properties
PropTypeDefaultDescription
titlestringNames the referenced document.
locationstringIdentifies a page, line range, or section.
excerptstringDisplays the cited source passage.
onOpen() => voidOpens the original document.