Skip to content

Changelog Table

Release log laid out as a table: mono version + ISO date column, a square type tag (New in signal color, Improved outlined, Fixed gray) and dash-listed notes; hairline rows.

mono-clean/ui/changelog-table
Open ↗

Source

import { cn } from "@/lib/utils";

export interface ChangelogEntry {
  version: string;
  date: string;
  type: "new" | "improved" | "fixed";
  notes: string[];
}

export interface ChangelogTableProps {
  entries?: ChangelogEntry[];
  className?: string;
}

const DEFAULT_ENTRIES: ChangelogEntry[] = [
  { version: "4.2.0", date: "2026-09-22", type: "new", notes: ["Variable font axes in the type panel", "Password pages for single projects"] },
  { version: "4.1.3", date: "2026-09-10", type: "fixed", notes: ["Captions no longer wrap under images on Safari 19"] },
  { version: "4.1.0", date: "2026-08-28", type: "improved", notes: ["AVIF images are 18% smaller", "Editor loads twice as fast on large sites"] },
];

const TYPE = { new: "bg-da-accent text-da-accent-fg", improved: "border border-da-border-strong", fixed: "bg-da-surface-2 text-da-muted-fg" } as const;

/** Release log laid out as a table: mono version + ISO date column, a square type tag (New in signal color, Improved outlined, Fixed gray) and dash-listed notes; hairline rows. */
export function ChangelogTable({ entries = DEFAULT_ENTRIES, className }: ChangelogTableProps) {
  return (
    <div className={cn("relative overflow-x-auto", className)} role="region" aria-label="Changelog" tabIndex={0}>
      <table className="w-full min-w-[520px] text-[15px]">
        <caption className="pb-4 text-left font-da-mono text-[11px] tracking-da-label text-da-muted-fg uppercase">Changelog</caption>
        <thead className="sr-only">
          <tr>
            <th scope="col">Version</th>
            <th scope="col">Type</th>
            <th scope="col">Changes</th>
          </tr>
        </thead>
        <tbody className="border-t border-da-border-strong">
          {entries.map((e) => (
            <tr key={e.version} className="border-b border-da-border align-top">
              <th scope="row" className="w-40 py-5 pr-6 text-left font-normal">
                <span className="block font-da-mono">v{e.version}</span>
                <time dateTime={e.date} className="font-da-mono text-xs text-da-muted-fg">
                  {e.date}
                </time>
              </th>
              <td className="w-28 py-5 pr-6">
                <span className={cn("inline-block rounded-da-sm px-1.5 py-0.5 font-da-mono text-[11px] tracking-da-label uppercase", TYPE[e.type])}>
                  {e.type}
                </span>
              </td>
              <td className="py-5">
                <ul className="space-y-1">
                  {e.notes.map((n) => (
                    <li key={n} className="flex gap-2">
                      <span aria-hidden className="text-da-muted-fg">
                        –
                      </span>
                      {n}
                    </li>
                  ))}
                </ul>
              </td>
            </tr>
          ))}
        </tbody>
      </table>
    </div>
  );
}

export default ChangelogTable;

modules/mono-clean/ui/changelog-table/index.tsx

Props

PropTypeDefaultDescription
entriesChangelogEntry[]—Entries.
classNamestring—Extra classes on the root.

Other table variants in Mono Clean

Table in other art directions

Data Table

Typed generic table with a yellow caption bar + toolbar slot, ruled rows, sortable columns (asc → desc → none), custom cell renderers, mobile column hiding, empty state and optional row click.

BrutalistTable

Expandable Table

Table with expandable rows: a ruled chevron square per row reveals a detail row underneath; the open row floods yellow. Single or multiple open rows.

BrutalistTable

Leaderboard Table

Ranked list with ink header, colored podium squares for the top 3, proportional background bars behind each row, rank-change chips (▲/▼) and big tabular values. Sorts by value automatically.

BrutalistTable

Simple Table

Server-safe static table: uppercase caption, ink header row with column rules, zebra rows, right-aligned mono numeric columns and an optional yellow totals footer.

BrutalistTable

Action Items Table

Action items table with Open / Done / All filter pills and counts, gradient checkboxes that strike tasks through, owner, due chip (overdue in red) and source meeting; empty state.

GlassTable

Data Table

Frosted table panel with title, description, pill search field and actions slot; rows are separated translucent rounded strips that brighten on hover. Typed generic columns, sorting, mobile hiding, empty state.

GlassTable

Meetings Table

Recent meetings glass table: title with gradient video icon and platform, date, mono duration, participant avatar stack and a recap status pill (ready, processing, private).

GlassTable

Usage Table

Team usage glass table: member, inline gradient bar of recorded hours relative to the top member, meetings count and hours saved, with a tinted totals row.

GlassTable

Data Table

Typed generic table with hairline rows, sortable headers, optional row selection (select-all with indeterminate state) and a floating bulk-action bar. Custom cells, mobile column hiding, empty state.

MinimalTable

Grouped Table

Services table grouped by team: collapsible tinted group rows with service count and alert subtotal, then rows with status dot, mono service name, owner, alerts and MTTA.

MinimalTable

Paginated Table

Audit-log table with client-side pagination: page-size select, “1–10 of 47” range, numbered pages with ellipsis and prev/next; mono timestamps and IPs, horizontal scroll on mobile.

MinimalTable

Uptime Table

Status-page uptime table: one row per service with 30 daily bars colored by threshold (≥ 99.99 %, ≥ 99 %, below), a current-status dot, the 30-day average and a legend.

MinimalTable

Approvals Table

Bill approval queue: vendor + requester, category, mono amount and inline Approve / Reject buttons that turn the row into a decided state (with Undo); pending count in the header.

Neo CorporateTable

Data Table

Customer data table: sortable headers (aria-sort), row checkboxes with select-all (indeterminate), bulk-action bar when rows are selected, mono amounts and pagination.

Neo CorporateTable

Invoice Table

Receivables table with status pills, days-late aging text, mono amounts, a totals footer and a per-row Radix dropdown (view, send reminder, duplicate, void).

Neo CorporateTable

Ledger Table

General-ledger table grouped by date: journal ref and memo, GL account, debit/credit columns in mono, credits indented, and balanced totals row with a “Balanced” check.

Neo CorporateTable

Actions Table

Reduction plan table: round checkboxes mark actions done (row softens), owner and due date, mono savings, and a progress header showing tonnes secured toward the target.

Organic SoftTable

Emissions Table

Emissions by category: rounded cream table with scope leaf chips, inline sage share bars behind the tonnes, mono figures, colored year-over-year change and a total row.

Organic SoftTable

Monthly Table

Month × scope heat table: each cell tinted by intensity along a sand→sage→forest scale with mono values; row totals and a legend; readable without color.

Organic SoftTable

Supplier Table

Supplier engagement table: filter pills by status, arch avatars, share of footprint, status pill and 3-dot data quality meter, with a per-row “Nudge” pill that turns into “Sent”.

Organic SoftTable

Activity Table

Activity log table: kind icon in a pastel circle, emoji avatar and sentence (“Ana completed …”), board chip and relative time; rows highlight softly on hover.

Soft FlatTable

Simple Table

Plain friendly data table in a rounded white card: soft header well, roomy rows, gentle zebra and right-aligned numbers; generic columns and rows props.

Soft FlatTable

Task Table

“My tasks” table where each row is a soft rounded strip: round done checkbox, title (struck when done), pastel board chip, owner initial avatar and due chip (red when overdue).

Soft FlatTable

Workload Table

Team workload heat table: a row per person (emoji + name), one rounded cell per weekday tinted mint → butter → peach by number of tasks, with a legend.

Soft FlatTable