Component toolkit
The complete index of what Seed Exact is built from: 18 named components, 2 platform parts, 19 primitive elements, 14 inline parts and 23 screen components, each mapped to its source and its page.

Everything a person sees in Seed Exact is composed from the pieces listed here. This page is the index of the toolkit and it mirrors the code at the documented commit exactly: nothing here is invented, and no component in the Contract files is left out. Use it to find the page for a piece, to see where a piece is defined, and to see which screens use it.

How the pieces stack

The root App component draws the tab bar and one screen component per route. A screen component composes named components, platform parts, inline parts and primitive elements. Named components are themselves made of primitives, and sometimes of other named components.

graph TD App["App: routes, tabs, route switch"] --> Screens["23 screen components"] Screens --> Named["18 named components"] Screens --> Inline["14 inline parts"] Screens --> Parts["2 platform parts"] Screens --> Prims["19 primitive elements"] Named --> Named Named --> Parts Named --> Prims Inline --> Named Inline --> Prims Parts --> Prims Prims --> UIKit["what iOS draws"]

Named components

Every component in the Contract files that is not a screen. "Used by" lists the screens where the component appears, directly or through another named component (given in brackets).

Platform parts

Imported with use โ€ฆ from "exact:content". They are written in Contract inside the framework (contract/lib/content.contract), not in the app.

Part

Imported by

Used by

Badge

agents.contract

AgentRunCard, so the Agent session

EmptyState

activity.contract, agents.contract (me.contract imports it and never calls it)

Activity inbox twice, Agent session once

Primitive elements

The Contract tags the app writes, with the number of times each is written across the nine Contract files (counted at the documented commit, test files excluded).

label, nav and summary are never written as elements. See Primitive elements for what stands in their place.

Inline parts

Recurring pieces of UI that are written inline inside a screen component. They are not components in code. Each page gives the exact line range.

Screen components

One per route. Each is documented as a screen page, not in the toolkit. The root component App (app.contract L74-L942) holds the route switch that renders them and the tab bar; its view is described on main, the app shell and in App structure.

One more route exists in code and has no screen component: agents-test ("/agents-test"), a test fixture written inline in the route switch (app.contract L860-L866). It is not part of the product UI.

Where the code differs from DESIGN.md

The component table in the app's DESIGN.md (v1.1) is out of date. It lists DocRow and CommentBubble in ui.contract; the built components are DocItemRow in read.contract and DiscussBubble in discuss.contract, and ui.contract holds only Avatar and StatusLine. It gives StatusLine(failed, retry); the built props are message and retry. Twelve of the 18 named components are not mentioned in it at all.

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