Skip to content
TileDownSite version v0.5.24

Status pills and progress bars

TileDown 0.14.0 adds the pill tile, the state of a piece of work as a word and a color, and the progress tile, a count out of a total as text and a bar.

Two small tiles for a board page. Both are static markup and CSS, with no script.

The pill

Nightly buildblocked
:::tile pill
status: blocked
label: Nightly build
:::

status is running, waiting, blocked, done or failed; anything else is a build error that names the five. label is an optional short text before the word. The word is always shown, so the color is never the only signal. Each state takes one theme color, so light, dark and a site’s own overrides all apply.

The progress bar

Pages written 37 of 120 (30%)

:::tile progress
value: 37
max: 120
label: Pages written
status: running
:::

value is a whole number from 0 up to max, and max is the total, 100 when not given. label and status are optional, and status takes the same five words as the pill.

The numbers are written out (37 of 120 (30%), the percent rounded down). The width of the bar is whole hundredths of a percent worked out with integers and rounded down, so a bar is never fuller than its count: 1 of 3 is 33.33%. A value above max, and a number that is not whole, are build errors that say so.

TileDown Updates

Stay updated with every exciting new feature we bring to TileDown, the Markdown‑first way to build sites you truly own.

View Markdown source
index.md
---
title: Status pills and progress bars
date: 2026-11-22
order: 1
description: TileDown 0.14.0 adds the pill tile, the state of a piece of work as a word and a color, and the progress tile, a count out of a total as text and a bar.
tags: Release, Tiles, Board
image: /assets/post-status-pills.svg
imageDark: /assets/post-status-pills-dark.svg
---
# Status pills and progress bars

Two small tiles for a board page. Both are static markup and CSS, with no script.

## The pill

:::tile pill
status: blocked
label: Nightly build
:::

```
:::tile pill
status: blocked
label: Nightly build
:::
```

`status` is `running`, `waiting`, `blocked`, `done` or `failed`; anything else is a
build error that names the five. `label` is an optional short text before the word. The
word is always shown, so the color is never the only signal. Each state takes one theme
color, so light, dark and a site's own overrides all apply.

## The progress bar

:::tile progress
value: 37
max: 120
label: Pages written
status: running
:::

```
:::tile progress
value: 37
max: 120
label: Pages written
status: running
:::
```

`value` is a whole number from 0 up to `max`, and `max` is the total, 100 when not
given. `label` and `status` are optional, and `status` takes the same five words as the
pill.

The numbers are written out (`37 of 120 (30%)`, the percent rounded down). The width of
the bar is whole hundredths of a percent worked out with integers and rounded down, so a
bar is never fuller than its count: 1 of 3 is 33.33%. A value above `max`, and a number
that is not whole, are build errors that say so.