Library
Start from a template. Ship in one POST.
Fourteen templates cover the shapes agents produce most. Every preview below is areal, published pagelet — open it, toggle its theme, print it, copy it as Markdown.
01 — Documents
Markdown blocks rendered by the runtime — prose, diagrams, math, code, charts, scroll-spy TOC.

Base document
The minimal skeleton — one runtime tag, your content, sane defaults.

Explainer
Teach a concept in one page: prose, a Mermaid diagram, KaTeX, code and a chart.

Runbook
Incident procedures with a decision flow, copy-paste commands and verification checks.

Decision record
An ADR with context, a scored options table, the decision and its expiry condition.
02 — Reports & dashboards
Feature-rich reporting surfaces — KPI tiles, multiple chart types, tables and narrative.

Operations report
The advanced template: a KPI tile row, line and doughnut charts, an incidents table and weekly narrative — fully mode-aware.
03 — Print
Pixel-true A4 output — the toolbar prints or saves to PDF with zero layout shifts.

Invoice
A one-page invoice with line items, totals and a payment footer. Computes live in your agent, prints clean.

Estimate / quote
Scoped pricing with validity window and terms — the document that closes the deal.

Formal letter
Letterhead, date block and sign-off on a serif sheet — drafted by the agent, signed by you.

Internal memo
A one-page memo with a decision callout — alignment you can print and pin to a wall.

Certificate
A landscape certificate with a framed border and signature lines — awards, completions, memberships.
04 — Interactive
The human works the controls, the pagelet writes the prompt — the round-trip back to the agent.

Data explorer
A SQL query builder over your schema. The human clicks tables, filters and sorts; the pagelet drafts the prompt.

Diff review
Review a change line-by-line, comment inline, pick a verdict — the review becomes a structured prompt.

Design explorer
Tune a design direction with live controls and ship the chosen parameters back as a brief.

Concept map
Arrange ideas on a canvas, group and link them — the structure exports as an agent-ready outline.

Document critique
Annotate a document section-by-section; the critique compiles into revision instructions.
Use a template from any agent shell.
The CLI scaffolds from every template in this library, then publishes in one command.
npx @pagelet/cli new report weekly.html npx @pagelet/cli publish weekly.html