# Flights card

> Canonical HTML: https://screenrig.ai/docs/cards/flights/

An airport arrivals or departures board: time, flight, city, gate or belt and status. The host supplies the flights.

Category: Public information. Tags: Transit and travel, Schedules.

## Previews

![Flights](/cards/flights/v1/screenshots/canvas-bloom.webp?sha=da9dc4b2ee1b05260f2645c2acdb2449d284eb162080dd2ccc3d5c42c934e737)

Canvas

![Flights](/cards/flights/v1/screenshots/corner-bloom.webp?sha=b369fd659e3f828421de0c45fcc870e5a826c122f96e142962f965a88d123b94)

Corner

![Flights](/cards/flights/v1/screenshots/chip-bloom.webp?sha=6512ef2f1d5502bd581fc025f342c11e647b992b8627fdd64de1714c1ca17596)

Chip

## Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.

[Card views, themes and publishing](/docs/cards/). [Browse the gallery](/apps/#cards).

## Data and privacy

Feed: `screenrig.flights/v1`.

Feed documents carry source attribution. The Player supplies the feed to the card.

## Properties

For theme, background, accent and position, see [Common properties](/docs/cards/#common-properties).

Set static properties in `params`. Bind `data` to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in `params`. Nested rows describe the contents of their parent property.

### Static properties

| Name | Type | Default | Values and limits | Description |
| --- | --- | --- | --- | --- |
| `title` | string | `""` | maxLength: `40` | Empty uses Departures or Arrivals. |
| `direction` | string | `"departures"` | `"departures"`, `"arrivals"` |  |
| `count` | integer | `8` | minimum: `3`; maximum: `14` | Flights per page; more flights take turns every pageSeconds. |
| `pageSeconds` | integer | `12` | minimum: `5`; maximum: `60` |  |
| `terminal` | string | `""` | maxLength: `12` | Only this terminal's flights; empty shows every terminal. |
| `hour12` | boolean | `false` |  |  |
| `timeZone` | string, null | `null` |  | IANA zone; null uses the screen's zone (the airport's, normally). |

### Dynamic properties

This card has no dynamic properties.

## Canvas example

Add this item to a playlist page’s `primitives`. [Publish the playlist and assign a screen](/docs/cards/#publish-a-card-canvas).

```json
{
  "id": "flights",
  "primitive": "card",
  "card": "flights",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill"
}
```
