Inkwell is an invented content management system: the editor behind Lantern Review, a made-up quarterly of essays on reading slowly, making things and the craft of attention. The visitor works as Maya Okafor, the editor-in-chief, across a home overview of the week, a posts list, an editor, pages, a media library and settings. Warm paper, an ink-blue accent, serif titles and soft corners.
The demo sets out to get one thing right that most admin templates get wrong: the save model. The editor keeps the answer to "is my draft safe?" quiet, and gives the one primary button the answer to "what will publishing do?". Around it, the posts list is a query you can link to, quick edit happens in a sheet over the list, and the home panels stream in over placeholders that hold their exact size.
Nothing a visitor submits is kept. Every form is read with remix/data-schema only to pick the
screen and the toast a real CMS would answer with, and a form that fails validation comes back
holding every character typed, with the issue on its field.
The brief
Publishing tools converge on a few hard rules. Saving and publishing are different acts and must look different. A save status should be readable but never compete with the content, and a live post with unsaved edits should say so wherever it appears. Lists of posts need status tabs with honest counts, facets and search, bulk actions, and a way to fix a title without opening the editor. Media needs an upload that works as a plain form. Settings need to save the right amount at a time: one section, or one long form with an explicit save.
Inkwell takes on each of these, built from @sdxc/ui's app components, and renders every screen on the server so links and forms work with script turned off.
A quiet status beside one loud button
The editor puts a serif writing column under a sticky bar. The bar holds the back link, the post's title, a SaveStatus and Preview, then one ink-blue button. The status says "Saving…", then "Saved", then decays to "Edited 39m ago": present, readable, and quiet. The button carries the publishing state:
function primaryFor(post: Post | null): { label: string; intent: string; disabled: boolean } {
if (post === null || post.status === "draft") {
return { label: "Publish", intent: "publish", disabled: false };
}
if (post.status === "published" && !post.changed) {
return { label: "Published", intent: "update", disabled: true };
}
return { label: "Update", intent: "update", disabled: false };
}A draft publishes, a queued or edited live post updates, and a live post with nothing new says so on a disabled button.

The post's properties sit beside the column in an EditorLayout sidebar, as rows that open small popovers. Each choice in a popover carries a line saying what it means — "Only the masthead can read it", "Live on lanternreview.example" — and a live post whose draft is newer than its published copy shows a Changed badge beside its status.

The post's history streams into the sidebar as a Timeline in a frame of its own. A failed save keeps every character typed, and the post preview opens as a page that draws the article in the publication's serif at a reading measure, with a thin bar leading back.
A posts list that is a query
The posts list is a Table under a FilterBar. The status
tabs count what each would show under the current facets, so "Drafts 3" is the number you get
when you click it. An author facet, a tag facet, search and the sort all live in the address,
read with remix/data-schema in posts-query.ts and applied to the fixtures, so
posts?status=draft&author=tomas is a link that opens the same view.

A live post whose draft is newer than its published copy wears a Changed badge in the list, the same word the editor uses. Selecting rows turns the footer into a SelectionBar for Publish, Unpublish and Delete, which post with their toast and redraw the list in place.
?quick=<id> opens a post's quick edit in a DetailSheet over the list:
title, slug with its live address, status and author, with Previous and Next through the list
and Open editor for everything else. The sheet streams in as its own frame over a placeholder,
and a failed quick edit comes back in the sheet with everything typed.

A home page that streams in without shifting
Home is a light overview of the publication's week. Four StatCard counts open their lists: drafts, scheduled posts, published this month with its change, and posts changed since publishing. Below them sit the drafts in progress, what is queued to go out, the masthead's recent activity and the reader comments.

The shell and the page's primary content arrive first. The stats, drafts, schedule, activity
and comments each stream in as their own cached frame over a placeholder of the same height.
The placeholders in placeholders.tsx keep a text bar at its line's real height and give a
region the minimum height of its content, and a browser test checks each part against its
placeholder at a phone's and a desktop's column width, so a frame landing never moves what
follows it. The comments panel shows one failing region keeping to its own box, and its Retry
link reloads only that panel.
Media and settings
The media library opens with a DropZone that uploads through a plain form,
then the files as a GridList or a list, chosen in the address with
media?view=list. ?item=<id> opens an attachment sheet with the file's facts, its alt text
and its caption.

Settings has a section nav that is the parent page on phones. General is a set of SettingsSection blocks that each save on their own; Publishing is one long form with a sticky SaveBar that appears with unsaved changes; Team is the masthead with an invite form.
The AppShell sidebar groups the nav by task, with the drafts and scheduled
queues as saved views carrying their counts. It mounts once while main swaps between Home,
Posts, Pages, Media, Settings and the editor. Tabs, sort, search and saved views push one history
entry each; bulk actions, quick edit, editor saves, media details and settings forms post into
main with their toast and add none. On a phone the table keeps title and status and folds the
author into the row.

Takes after
WordPress — the posts list with status count tabs, quick edit and bulk actions, and properties edited in popovers beside the writing column.
Ghost — a calm serif editor where the status line says the draft is saved and Publish is the one primary action.
Sanity — a save status that decays from "Saved" to an edit time, and a document history beside the editor.
Where to start reading
editor.tsx— the sticky bar's quiet status and loud button, and the popover properties.posts-query.ts— the posts list read from the address withremix/data-schema.submit.tsx— where each form sends the visitor, and how a refused form comes back as typed.
