Skip to content

view on a desktop screen for a better experience.

countdown

GraphCountdown

Time left until a date. After that it shows a short label you pass in.

freeze

Until New Year's. After that it says open.

[ FREEZE ]

00:00:00

until launch

remaining 00:00:00

MDX

```
+------------------- [ FREEZE ] -------------------+
|                                                  |
| to: 2027-01-01T00:00:00Z                         |
| done: open                                       |
| caption: until launch                            |
|                                                  |
+--------------------------------------------------+
```

install

command

closed

The date has passed, so the frame shows the label you set.

[ WINDOW ]

00:00:00

remaining 00:00:00

MDX

```
+------------------- [ WINDOW ] -------------------+
|                                                  |
| to: 2020-01-01T00:00:00Z                         |
| done: closed                                     |
|                                                  |
+--------------------------------------------------+
```
[ PROPS ]
PropTypeDefaultDescription
titlestringCaption drawn on the top edge of the frame.
toDate | number | stringThe deadline. A date, timestamp, or ISO string.
donestring"done"What to show after the deadline.
captionstringLine under the number.
palette"mono" | "duo" | "multi""mono"mono is one accent plus muted. duo paints the second series with --graph-accent-2. multi cycles three accents.
cornerstring"+"Character at each corner of the frame.
classNamestringPassed to the outer frame.