Paper.Root analyses the document and creates the PaperState. Paper.Layer turns in-text citations and “Fig. 3”-style references into links; the cards and lists read the model.
Anatomy
Usage
- Click hooks (
onCitationClick,onCrossRefClick,onReferenceClick) let your app open or import cited papers instead of jumping. Paper.CitationCard layout="list"shows every reference of a group like [1, 2, 3].Paper.Headingsadds hidden real headings for screen readers and DOM-based tables of contents.
Guide: Research papers.
API reference
Paper.Root
A provider: renders no element of its own.
Paper.Layer
Renders a <div> (or your element via child) and accepts its HTML attributes.
data-hovereddata-kinddata-pdf-backlink-targetdata-pdf-citationdata-pdf-crossrefdata-pdf-paper-layerPaper.CitationCard
Renders a <div> (or your element via child) and accepts its HTML attributes.
data-compactdata-force-mountdata-layoutdata-partdata-pdf-citation-carddata-statePaper.CrossRefPreview
Renders a <div> (or your element via child) and accepts its HTML attributes.
data-force-mountdata-kinddata-partdata-pdf-crossref-previewdata-statePaper.Backlinks
Renders a <div> (or your element via child) and accepts its HTML attributes.
data-force-mountdata-partdata-pdf-backlinksdata-statePaper.References
Renders a <div> (or your element via child) and accepts its HTML attributes.
data-citeddata-partdata-pdf-referencedata-pdf-referencesPaper.Figures
Renders a <div> (or your element via child) and accepts its HTML attributes.
data-kinddata-partdata-pdf-figuredata-pdf-figuresPaper.Headings
Renders a <div> (or your element via child) and accepts its HTML attributes.
data-leveldata-pdf-headingdata-pdf-headingsdata-sectiondata-visible