Order Tracking
Order status card led by the arrival estimate, with the delivery steps as a timeline, each with its date and a one-line note, the carrier's tracking number with a copy action, and track and reschedule actions.
Parts
| Part | File | Does |
|---|---|---|
| OrderTracking | OrderTracking.vue | Shows when a parcel arrives and its delivery steps as a timeline, with the tracking number and link. |
Styling
All of Order Tracking’s styles live in order-tracking.json. New to styling in Frontic UI? How styling works →
Install
- npm packages
- @lucide/vue
- reka-ui
Built from
API reference
Shows when a parcel arrives and its delivery steps as a timeline, with the tracking number and link.
Props 18
| Prop | Type | Default | |
|---|---|---|---|
| title* | string | — | |
| |||
| description | string | — | |
| |||
| status | string | — | |
| |||
| steps* | TrackingStep[] | — | |
| |||
| current* | number | — | |
| |||
| eta | string | — | |
| |||
| etaDetail | string | — | |
| |||
| carrier | string | — | |
| |||
| trackingNumber | string | — | |
| |||
| trackingUrl | string | — | |
| |||
| trackingNumberLabel | string | 'tracking number' | |
| |||
| trackLabel | string | 'Track parcel' | |
| |||
| changeDateLabel | string | 'Change delivery date' | |
| |||
| copyLabel | string | 'Copy tracking number' | |
| |||
| copiedLabel | string | 'Copied' | |
| |||
| surface | 'raised' | 'bare' | 'raised' | |
| |||
| locale | string | — | |
| |||
| class | ClassValue | — | |
| |||
Events 2
| Event | Payload | |
|---|---|---|
| copy | trackingNumber: string | |
| ||
| changeDate | — | |
| ||
Data attributes 1
| Data attribute | Values | |
|---|---|---|
| data-surface | 'raised' | 'bare' | |
| ||