Example campaign
- Brand
- Example brand
- Zone
- Global
- Country
- Canada
- Agency
- Example studio
- Category
- Design
Design system / Molecules
Molecule / Presentation
SubmissionCard owns shared summary anatomy in Catalogue, Your entries, admin intake cards, admin round-result cards and category-grouped finalists. The non-admin edition listing uses EditionSubmissionList instead. Its article contains a linked or read-only summary and a separate action area. SubmissionGrid selects one through four equal columns from available content width, including beside a sidebar. Routes resolve permitted data and asset URLs.
Current component with fictional data. Example changes are not persisted.
Example cycle · 2026
Catalogue, Your entries, admin intake cards, admin round-result cards and category-grouped finalists compose this molecule. The non-admin edition listing uses the metadata-only EditionSubmissionList table instead. The card's labelled article contains a linked or read-only summary and a separate action slot. SubmissionGrid owns one-through-four-column placement based on available width; routes retain data, gates and destinations.
The table describes supported inputs, exported parts and caller responsibilities. A callback supplies a command, such as saving a draft. These notes are maintained manually; check current source types before integration.
| Prop / part | Type | Requirement | Responsibility |
|---|---|---|---|
| title | string | Required | Submission heading. Metadata values are optional and empty facts are omitted. |
| brand / agency / country / zone | string | null | Optional | Inline facts without visible labels. Accessible definition terms retain each field's meaning. |
| submittedByName | string | null | Optional | Requires display.submitter=true. Null displays Unknown submitter; undefined omits the field. |
| updatedAt | string | Optional | Requires display.date=true. Formatted using en-US day/month/year in the rendering runtime's time zone. dateLabel defaults to Updated. Your entries enables the date and selects Updated or Submitted. |
| href | string | null | Required | The outer element is always a labelled article. Non-null links only the summary; action stays outside the link. |
| categoryName / posterImageUrl | string | null | Optional | Optional metadata and decorative 16:9 poster; media=true retains a themed placeholder without an image. |
| status / editionTitle / year / score / dateLabel | string / number | Optional | Status overlays the thumbnail's top-right corner, or appears above the title without media. Its surface is opaque. Only draft selects secondary; other statuses use outline. Score sits beside the title. Edition/year require display.edition=true. |
| display.metadata | readonly SubmissionCardMetadataField[] | Default brand, zone, country, agency, category | Select and order inline facts. Use [] to hide metadata. Values wrap and empty fields are omitted without stray separators. |
| display.status / display.score | boolean | Default true | Independently hide supplied status or score with false. |
| display.edition / display.submitter / display.date | boolean | Default false | Opt into edition/year context, submitter attribution or the date. Omitted display settings retain compact defaults. |
| headingLevel | 3 | 4 | Default 3 | Select a heading appropriate to the owning collection. |
| children / action | ReactNode | Optional | children supplies static summary facts. action supplies controls and expandable details outside the link. Neither slot fetches data. |
| mediaAction | ReactNode | Optional | Places caller-owned controls over the thumbnail's top-left corner, outside the summary link. Implies a media frame, including a placeholder without artwork. Does not add an action footer. Keep controls compact and avoid crowding a supplied top-right status. |
| SubmissionGrid children | ReactNode | Required | Import submissionGrid.tsx for shared placement. At 504, 768 and 1032px available content width, the grid changes to two, three and four equal columns. Mobile has one; no first/pinned exceptions exist. |
API notes are curated documentation, not generated types. The source linked above is the current implementation; update these notes alongside API changes.
Identify which values the caller controls and which behavior the component or underlying primitive owns. A local example does not supply persistence, authorization or a complete product lifecycle.
Server-compatible presentation with stable React IDs and no feature state. Authorized routes supply permitted records and media. Catalogue pin, intake Include and round Advance/disclosure remain caller-owned; no new Context, store or authorization boundary exists.
These notes identify theme roles, utilities and direct style values used by the source. Direct colors or timings are implementation exceptions, not recommendations to bypass the theme.
bg-card / bg-muted / border / ring-ringBadge secondary / outlinetext-label / text-supporting / text-eyebrowChange summary anatomy and overlay positioning in submissionCard.tsx and responsive placement in submissionGrid.tsx with src/theming/semantics/submissionCollection.css. Keep product mapping and commands in owning features. Controls belong in action or mediaAction, never inside the summary link. Four columns fit standard desktop, including expanded sidebars; current visual guidance follows ADR-0116.
Groups authorized finalists by category and places a single tag-badge editor in mediaAction. The hero and title share the existing submission-detail destination; available permitted submitter and zone supplement brand. Popover owns disclosure mechanics, and the selections behavior hook owns drafts and saves. Neither card nor grid authorizes or persists decisions.
Repository path: src/components/selections/editionSelections.tsx
The authorized admin intake composes SubmissionCard in cards mode, with category metadata, permitted detail links and a separate Include action. The non-admin edition listing no longer consumes SubmissionCard.
Repository path: src/app/(tenants)/console/[tenantCode]/admin/programs/[programCode]/editions/[editionCode]/submissions/submissionsTable.tsx
Uses the compact SubmissionCard default with inline facts, score and a permitted detail link, but no pin control. It omits edition, submitter and date data. Pinning moves to authorized submission details and affects ordering, not card styling.
Repository path: src/components/submissions/instances/catalogueSubmissionCard.tsx
Uses SubmissionCard and SubmissionGrid directly for owned entries grouped by Program and Edition. Each group preserves draft-first/date order. Route-owned Edition headings and public submission-page links remain available without a current invitation. Cards use headingLevel=4 beneath those h3 headings. display.date enables Updated or Submitted dates. Edition and repeated submitter attribution stay hidden inside cards. The server chooses destinations, status and dates; creation stays on the destination page.
Repository path: src/app/(tenants)/console/[tenantCode]/submissions/page.tsx
These traces describe selected uses, not every dependency. Repository-only paths are shown as references; only approved files have public source views.
import { SubmissionCard } from "@/components/submissions/submissionCard";
<SubmissionCard title={summary.title} status={summary.status}
brand={summary.brand} agency={summary.agency} country={summary.country}
display={{ metadata: ["brand", "agency", "country"] }}
media posterImageUrl={summary.posterImageUrl} href={summary.href}
action={includeControl} />Illustrative consumer bindings, not a self-contained product workflow. Live examples supply only local state or explicit fictional props.