MouseUIMouseUI
About
Components
Built with
Built on 21st
Community

Dependencies

Tags

Authorship Ledger

Authorship Ledger

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.

Default preview
"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>
  );
}

License

MIT License

Published

11/24/2026