# Card

> Choose the card that matches what the filmmaker is holding: a project cover, scene card or shot.

Source: https://kwark.space/designSystem/components/card

## Usage

### Match the record
- **Project:** the [project cover](https://kwark.space/designSystem/components/project-cover.md) is a 2:3 poster with a readable title. Its actions sit inside the cover under Decision 0017.
- **Outline:** the [index card](https://kwark.space/designSystem/components/index-card.md) uses a title rule, lined notes and a scene connection. It stays available when outline linking is switched off under Decision 0003.
- **Shot:** the [shot card](https://kwark.space/designSystem/components/shot-card.md) starts with the shot ID, followed by framing and setup.

The shared Card primitive is a flat container. Use it for bounded content only when no workflow-specific card applies.

## Style

### Anatomy

The project cover is a 2:3 silhouette with an inset frame and an action target in the top corner. The index card has stock, a rule through the title line, notes and a footer identifying the scene.

### Tokens

| Token | Light | Dark |
|---|---|---|
| `--k-cover-bg` | #22211f |  |
| `--k-cover-ink` | #eee7db |  |
| `--k-cover-rule` | #c4ad83 |  |
| `--k-card-blue` | #dfe8f1 |  |
| `--k-card-ink` | #2b261f |  |
| `--k-card-rule` | #d98a80 |  |

## Code

### React

Use the HTML below with `kwark.css`. The example shows the markup and styling. Supply any application behavior described on this page.

### HTML and CSS

Works anywhere with `kwark.css`.

```html
<div class="kw-cover-tile"><a class="kw-cover kw-cover--empty" href="/designSystem/components/project-cover" aria-label="Open Blank Pages"><span class="kw-cover__art"><span class="kw-cover__edition">Feature film</span><i class="kw-cover__sun" aria-hidden="true"></i><i class="kw-cover__hill" aria-hidden="true"></i><span class="kw-cover__title">Blank Pages</span><span class="kw-cover__caption">Screenplay</span></span></a><strong>Blank Pages</strong><small>Feature film · Draft</small></div>
  <article class="kw-index-card" data-tint="blue">
    <span class="kw-index-card__top">Act 2 <span>Scene 12</span></span><h3 class="kw-index-card__title">Mira finds the splice</h3><p class="kw-index-card__body">The shot repeats. This time she sees who passed behind the camera.</p><span class="kw-index-card__foot">INT. Edit suite – Night</span>
  </article>
```

## Accessibility

Provide the title and purpose of the card as text. Use a link to open the object. A separate More button can sit beside the link in DOM order. Avoid embedding another control inside a card link.

## For agents

### Rules

- **Must** choose the existing product card for its artefact.
- **Must** preserve readable names without cover art.
- **Never** decorate resting cards with a drop shadow.

### AI readiness test

**Task:** Give a feature film and its Outline scene separate card treatments.

**Give the agent:** Decision 0017, Project cover and Index card.

**Constraint:** The project has no uploaded artwork.

**A reliable answer:**
- Uses the designed 2:3 cover placeholder
- Preserves the title and cover action
- Presents the scene on lined stock with its stable scene number
