Components / financial
PaymentTimeline
Shows payment status, method and scheduled payment dates.
Generated from @oods/foundry 0.10.1
- Categories
- financial
- Contexts
- detail
- Readiness
proven-in-generated-apps
Playground
This component's contract doesn't list typed props, so the playground shows its documented example.
Documented example billing-payment-detail : mount, Payments with method card and No payment scheduled.
The render follows the page's theme switch: light, dark or high contrast. Both frameworks render the same example.
Payments
$19.99 USD · succeeded
Payment method: card
- Last payment
- Next paymentNo payment scheduled
Payments
$19.99 USD · succeeded
Payment method: card
- Last payment
- Next paymentNo payment scheduled
Code
The documented example. HTML is the markup the React component renders for it, which @oods/component-styles styles.
import { PaymentTimeline } from '@oods/components-react';
import '@oods/component-styles/css';
export function Example() {
return (
<PaymentTimeline
lastPayment="2026-01-01T00:00:00Z"
paymentStatus="succeeded"
paymentMethod="card"
amount={1999}
currency="usd"
/>
);
}Props, slots and events
Contract version 1.1.0. Types are from the React declarations in @oods/components-react.
| Prop | Type | Required | Documented example |
|---|---|---|---|
last | string | undefined | no | 2026-01-01T00:00:00Z |
next | string | undefined | no | |
payment | string | undefined | no | succeeded |
payment | string | undefined | no | card |
amount | number | undefined | no | 1999 |
currency | string | undefined | no | usd |
minor | number | undefined | no | |
title | string | undefined | no |
Slots
none
Events
none
States
populated, empty
Accessibility
- Role
none- How it gets its name
headingonh1,h2,h3,h4,h5,h6
Keyboard
The contract lists no keyboard behaviour.
Obligations in the contract
- Native semantic elements retain their names and content
- Public detail ID over the same shared payment timeline primitive as PaymentEventTimeline, with a payment-method term (Not provided when absent). Last and next payment are chronological UTC dates. Missing next payment is No payment scheduled; missing last is No previous payment. Amount, currency and payment status remain visible.
Public detail ID over the same shared payment timeline primitive as PaymentEventTimeline, with a payment-method term (Not provided when absent). Last and next payment are chronological UTC dates. Missing next payment is No payment scheduled; missing last is No previous payment. Amount, currency and payment status remain visible.
Tokens
The token roles this component reads.
billing.textbilling.surfacebilling.border
Readiness
The evidence recorded for this component, with its label.
proven-in-generated-apps: catalog_list gives this label when generated React and Vue apps in the runtime sweep that ships with this version both use the component. That sweep was measured on the published 0.4.1, not on this version.
| Evidence | React | Vue |
|---|---|---|
| state | implemented-evidence-complete | implemented-evidence-complete |
| versioned contract | passed | passed |
| target implementation | passed | passed |
| package export | passed | passed |
| public declaration | passed | passed |
| dependency closure | passed | passed |
| framework scenario | passed | passed |
| accessibility | verified | verified |
| interaction | not-applicable | not-applicable |
| visual themes | verified | verified |
PaymentTimeline presents content and owns no focusable control or action; authored child actions remain the consumer's responsibility.
Use your own
You can replace this component with your own React or Vue component. Map it, and generated code imports yours at the exact version you name. A contract report, run in a real browser, lists what your component met, what it didn't, and what wasn't checked.
The component_map call, with the parts in angle brackets yours to fill:
{
"action": "create",
"apply": true,
"externalSystem": "<your design system>",
"externalComponent": "<YourPaymentTimeline>",
"oodsTraits": [
"Billable"
],
"substitution": {
"component": "PaymentTimeline",
"react": {
"package": "<your-package>/react",
"version": "<exact version>",
"export": "<YourPaymentTimeline>"
},
"vue": {
"package": "<your-package>/vue",
"version": "<exact version>",
"export": "<YourPaymentTimeline>"
}
}
} How this page was made
Generated at build from the published data, each source with the hash of what was read. The page's manifest.
- Contract:
@oods/component-contracts@0.10.1 componentContracts.PaymentTimelinesha256:fdcd5f3077d5… - Documented example:
@oods/component-contracts@0.10.1 sharedScenarios billing-payment-detailsha256:3a0828fcb224… - Catalog entry (catalog_list):
generated/0.10.1/system/catalog.json PaymentTimelinesha256:ad352345acdd… - React readiness:
@oods/components-react@0.10.1 readiness PaymentTimelinesha256:53f172b42f54… - Vue readiness:
@oods/components-vue@0.10.1 readiness PaymentTimelinesha256:55cf806142e2… - Prop types:
generated/0.10.1/components/prop-types.json PaymentTimelinesha256:a678ddf5b687…