Components
Citation
Inline source chips at the end of a sentence, with a hover / focus PreviewCard listing the sources.
In a reply
An 18px chip (12/17 secondary, max 180px) nudged up 1px after a space, on surface-0 with a .5px hairline (8 % | 4 %). Hover (v2) paints the page colour plus one accent layer (12 %), drops the border and fades in an arrow; after 300 ms a 337px PreviewCard opens above it (fade + .98 scale over 120 ms) and closes 300 ms after leaving. Keyboard focus opens it too; Escape closes it.
Light and dark
The chips follow their island; the card is portalled to the body, so it follows the page mode (toggle the theme to compare). The last example keeps its card open (v-model:open).
Source chip in light mode. reka-ui +2
Source chip in dark mode. shadcn-vue
A multi-source card stays open here. reka-ui +2
Parts
Compose the trigger and the card yourself, e.g. for a custom chip label or a card below the text.
See the documentation docs +2