About
1 of 1 — Authorship Ledger: an editor that tracks who wrote every character (you, AI, or pasted), with a composition ledger, revision scrubber and an AI-disclosure stamp + JSON-LD export for EU AI Act transparency.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Authorship Ledger to your project and fits it to your theme.
Code
How Authorship Ledger is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import * as React from "react";
import { AuthorshipLedger } from "@/components/ui/authorship-ledger";
export default function Demo() {
return (
<div className="flex min-h-screen w-full items-center justify-center bg-[#e6e3da] p-3 dark:bg-[#090b0a] sm:p-6">
<AuthorshipLedger
title="What we learned shipping slow"
author="Mira Castell"
className="w-full max-w-[1140px] rounded-[20px] shadow-[0_30px_80px_-30px_rgba(0,0,0,.35)]"
style={{ height: "min(760px, calc(100vh - 24px))" }}
defaultValue={[
{ by: "human", text: "We spent most of the spring arguing about speed. " },
{ by: "ai", text: "In fast-moving teams, velocity often becomes the only metric that matters, and quality quietly erodes" },
{ by: "human", text: " until somebody has to stay up fixing it.\n\nSo we tried the opposite for six weeks: one release a week, written up by hand, read aloud on Friday. " },
{ by: "paste", text: "“Writing is thinking. To write well is to think clearly.” — David McCullough" },
{ by: "human", text: "\n\nThe first two weeks were painful. " },
{ by: "ai", text: "By the third, the reviews were shorter, the bugs were fewer, and nobody missed the old standup" },
{ by: "human", text: ". I didn't expect that." },
]}
/>
</div>
);
}








