← Component library

AI Authorship Citation Card

Free

Highlighting a passage reveals its AI source, edit counts, elapsed time and a copy control.

Type
Provenance popover
Category
Data & Proof
Appearance
Light UI, Restrained
Editorial role
Proof point
Motion
Highlight, Panel reveal
Duration
1.92 s · 24 fps

Customize

Use this component

npx shadcn add @betterframes/authorship-citation

This Canvas module needs no npm packages. The usage example includes your edits.

Download .mjsDownload preview
import { draw } from './authorship-citation.mjs';

// On each frame, pass this clip’s elapsed time in seconds.
// Coordinates use a 640 × 360 drawing area.
export function render(ctx, seconds) {
  ctx.save();
  ctx.scale(ctx.canvas.width / 640, ctx.canvas.height / 360);
  ctx.clearRect(0, 0, 640, 360);
  draw(ctx, seconds, {});
  ctx.restore();
}
Component source