Skip to content

view on a desktop screen for a better experience.

invoice

GraphInvoice

From, bill-to, line items, and a totals block. Write a markdown table; from and to are strings. A generic grid is Table.

studio invoice

[ INVOICE 0041 ]

From

mdxcn

Bill to

Acme Studio

No.
0041
Issued
Mar 12, 2026
Due
Apr 11, 2026
DescriptionQtyRateAmount
Design system14,2004,200
Motion pass11,8001,800
Docs rewrite8h1801,440
Amount due
7,440

Net 30. Wire to the account on file.

MDX

```
+---------------- [ INVOICE 0041 ] ----------------+
|                                                  |
| FROM     BILL TO                                 |
| mdxcn    Acme Studio                             |
|                                                  |
| No.   Issued        Due                          |
| 0041  Mar 12, 2026  Apr 11, 2026                 |
|                                                  |
| Description   | Qty |  Rate | Amount             |
| --------------+-----+-------+-------             |
| Design system |   1 | 4,200 |  4,200             |
| Motion pass   |   1 | 1,800 |  1,800             |
| Docs rewrite  |  8h |   180 |  1,440             |
| --------------+-----+-------+-------             |
|                    Amount due  7,440             |
|                                                  |
| Net 30. Wire to the account on file.             |
|                                                  |
+--------------------------------------------------+
```

install

command

quote

[ QUOTE ]

From

mdxcn

Bill to

Northwind

Valid until
May 01
DescriptionAmount
Registry install0
Custom graph2,400
Estimate
2,400

MDX

```
+------------------- [ QUOTE ] --------------------+
|                                                  |
| FROM     BILL TO                                 |
| mdxcn    Northwind                               |
|                                                  |
| Valid until                                      |
| May 01                                           |
|                                                  |
| Description      | Amount                        |
| -----------------+-------                        |
| Registry install |      0                        |
| Custom graph     |  2,400                        |
| -----------------+-------                        |
|           Estimate  2,400                        |
|                                                  |
+--------------------------------------------------+
```
[ PROPS ]
PropTypeDefaultDescription
titlestringCaption drawn on the top edge of the frame.
fromInvoiceParty | stringIssuer name. A string, or name plus address lines.
toInvoiceParty | stringRecipient name. A string, or name plus address lines.
metaInvoiceMeta[]Fields like number, issued, due.
itemsInvoiceItem[]Line items. qty and rate are optional; columns hide when unused. Optional when children are Markdown.
childrenMarkdown| Description | Amount | | --- | --- | | Design system | 4,200 |
totalsInvoiceTotal[]Rows under the items. Set accent on the amount due.
notestringMuted line under the totals. Payment terms, etc.
cornerstring"+"Character at each corner of the frame.
classNamestringPassed to the outer frame.