← ProcessesMED·Kit · Mehmet Ergul Design Kit

Molecules

IterationCard

A frame in a design-iteration gallery — artwork, version tag, and rationale.

Preview

components/content/IterationCard.jsx
v1
Baseline toolbarEvery action exposed — too loud.
v2
Grouped actionsGrouped by intent; hierarchy still flat.
v3
Compact toolbarSecondary actions collapsed into an overflow menu.

Composes VersionBadge for the tag. Lay several in a grid to show the progression v1 → v3 — the current frame differentiates with the craft accent, never a new hue.

Usage

src/components/ui/IterationCard.tsx
tsx
import { IterationCard } from "@/components/ui/IterationCard";

<IterationCard
  label="Compact toolbar"
  version="v3"
  status="current"
  current
  note="Collapsed secondary actions into an overflow menu."
  art="/iterations/toolbar-v3.png"
/>

API

props
PropTypeDefaultDescription
labelstringShort name for this exploration.
versionstringVersion tag (v1, v3.2) — rendered by the composed VersionBadge.
status"current" | "explored" | "archived" | nullnullLifecycle dot on the version tag.
notestringOne-line rationale under the label — why this frame exists.
artstringArtwork — image URL or CSS background.
ratiostring"4 / 3"Media aspect ratio.
currentbooleanfalseMarks the chosen iteration with the craft-accent border.

Tokens consumed

semantic only
--signal-craft--color-bg-elevated--color-bg-panel--color-border--color-border-hover--radius-lg--transition-hover--ease-out-expo