# Quote card

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

A quotation set as a typographic showpiece: one a day, or rotating on the wall clock.

Category: Media. Tags: Offices and workplaces, Lobbies and reception, Schools and campuses.

## Previews

![Quote](/cards/quote/v1/screenshots/canvas-bloom.webp?sha=818746602231528e41f116742419a4f2a1a8c1b5a32750d4d7be5e9d0253bbb5)

Canvas

![Quote](/cards/quote/v1/screenshots/corner-bloom.webp?sha=6af9155337b8cd30372ef0812e238deaaf73a0ed4b7294438806aaf8e48b6dda)

Corner

![Quote](/cards/quote/v1/screenshots/chip-bloom.webp?sha=fce164ddee4c096112111c657d2fc5c34a88235fd92234deef31812a07dbd0b9)

Chip

## Views and forms

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

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

## Data and privacy

This card uses its configured properties and live card data.

## 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` |  |
| `rotate` | string | `"daily"` | `"daily"`, `"interval"` | daily keeps one quote for the whole local day; interval rotates on the wall clock. |
| `intervalSeconds` | integer | `20` | minimum: `5`; maximum: `3600` |  |
| `timeZone` | string, null | `null` |  |  |

### Dynamic properties

| Name | Type | Default | Values and limits | Description |
| --- | --- | --- | --- | --- |
| `quotes` | array |  | minItems: `1`; maxItems: `50`; Required |  |
| `quotes[].text` | string |  | minLength: `1`; maxLength: `400`; Required |  |
| `quotes[].author` | string | `""` | maxLength: `60` |  |
| `quotes[].source` | string | `""` | maxLength: `80` |  |

## 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": "quote",
  "primitive": "card",
  "card": "quote",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill",
  "data": "quote-main"
}
```

## Write live data

Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see [API authentication](/docs/authentication/).

```console
curl --request PUT "https://api.screenrig.ai/api/card-data/quote-main" \
  --header "Authorization: Bearer $SCREENRIG_TOKEN" \
  --header "ScreenRig-Project: $SCREENRIG_PROJECT" \
  --header "Content-Type: application/json" \
  --data '{"document":{"quotes":[{"text":"Example"}]}}'
```
