Platform parts from exact:content
The two ready-made parts the app takes from the Exact framework: Badge for a status word and EmptyState for a screen with nothing to show.

Exact ships a small library of content parts, imported with use … from "exact:content". They are ordinary Contract components that live in the framework (contract/lib/content.contract) and are designed to match what UIKit itself draws. Seed Exact uses two of the nine.

The two parts in use

Part

What it is

Calls

Where

Badge

A status word in a small capsule

1

AgentRunCard on the Agent session

EmptyState

A centred symbol, title and sentence for a screen with nothing else on it

3

Activity inbox (two states), Agent session (new chat)

Imports in the app: activity.contract takes EmptyState, agents.contract takes Badge and EmptyState. me.contract also imports EmptyState and never calls it: the Me tab's empty state is a list row, by the rule on the EmptyState page.

The parts not used

The library also offers SummaryCard, StatBar, RingProgress, DoneMark, RowText, RoundButton and AnswerTile (Exact card). None appears in the app. Inferred: they serve dashboards, trackers and quizzes, and Seed Exact is a reader with settings lists, so its rows are written with primitive elements in the shapes a grouped list already understands.

Why take parts from the platform

The first principle in DESIGN.md is "Leave it unsaid": paint only content and let the platform draw the rest (Leave it unsaid). A status pill and a content-unavailable view are things iOS already has a look for. Taking them from exact:content means their type sizes, spacing, contrast and large-text behaviour follow the framework's measurements of UIKit and stay correct when the system changes (How the framework shaped the design). DESIGN.md names both parts in its component table and in principle 4, "Honest state".

The parts differ from the app's own named components in one way that matters to a designer: their look cannot be edited in the app. What the app controls is the words, the symbol, the tint and, for EmptyState, the button placed under it.

User stories

This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime