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 |
|---|---|---|---|
A status word in a small capsule | 1 | AgentRunCard on the Agent session | |
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).
US-APP-05 Always know what is happening: Section parent: parts taken from the framework
US-TEAM-08 Ask for a design change: Parts taken from the framework
Related
Parent: Component toolkit
Shared components, the app's own shared pair
Color and tokens for the two fills Badge uses
How it is built: Shared components and visual design, The Exact framework
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime