Corpora UI
Atoms

Reference

Reference chip pointing at the node, passage or source a suggestion is grounded in, with an optional hover preview of the passage.

Usage

import { Reference } from "@exegia/corpora-ui"

<Reference href="/corpus/iliad/1.12" preview={passage}>
  Iliad 1.12
</Reference>

API reference

PropTypeDefaultDescription
hrefstring—Renders the chip as a link.
previewReactNode—The passage, shown in a PreviewCard on hover / focus. Omitted, no card.

Last updated on

On this page