# Countdown OG image template

A huge number on split-flap tiles with "days to go", the event and its date.

- Slug: `countdown`
- Preview (real render): https://shareglint.com/img/templates/countdown.jpg
- Page: https://shareglint.com/en/templates/countdown

For the run-up to a launch, a conference or a sale: render one card per day from a cron job and post it. Each character gets its own flap like an airport board; longer numbers shrink to fit. The unit is free text, so it can be days, hours or tickets left.

## Fields

Every field is optional. Long text shrinks to fit instead of overflowing; an image field takes a public URL that we fetch on our side.

| Field | Type | Description | Example |
|---|---|---|---|
| `number` | text | The number on the flaps, up to 6 characters, e.g. 12. (default: 10) | 12 |
| `unit` | text | What the number counts, e.g. days to go. (default: days to go) | days to go |
| `event` | text | Event name above the number. | Frontend Summit 2026 |
| `date` | text | Event date and place under the number. | June 12–14 · Lisbon |
| `site` | text | Your domain or a short URL. | frontendsummit.io |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #22d3ee) | #22d3ee |
| `theme` | dark | light | Colour scheme: dark or light. | — |

## Render it with one request

```bash
curl -X POST "https://shareglint.com/v1/images?wait=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "countdown",
    "modifications": {
        "number": "12",
        "unit": "days to go",
        "event": "Frontend Summit 2026",
        "date": "June 12–14 · Lisbon",
        "site": "frontendsummit.io"
    }
}'
```

## Make it yours

accent and theme change per request. For anything more, copy the template into your account: you get an ordinary HTML template with the same fields that you can edit in the dashboard or through the API. If the slug is free on your account, the copy takes it — your integrations switch to your version without changing a line.

```bash
curl -X POST "https://shareglint.com/v1/templates/library/countdown/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
