Six parts float above the pages: Viewer.LinkPreview, Paper.CitationCard, Paper.CrossRefPreview, Annotations.Popover, Annotations.SelectionMenu and Annotations.HoverCard. They share one API:
They expose data-state="open" / "closed"; styles.css ships a short entry animation, skipped with forceMount so your own transition runs alone. onOpenChange fires on changes only, not on mount.
Transitions
Copy to clipboard
Citation cards
layout—'list'shows every reference of a group like [1, 2, 3];'pager'one at a time;'auto'(default) lists groups of up to four.referencesnippet — render each reference yourself ({ reference, metadata, go, compact }).actionssnippet — extra buttons in each reference’s footer.
Click hooks
Your app decides what a click does; return false to skip the default:
Copy to clipboard