Recent activity
- SSpotifyToday · Subscription-$10.99
- ARAna RuizYesterday · Transfer+$250.00
- UUberMon · Transport-$18.40Pending
- GPGym PassSun · Health-$39.00Failed
Recent transactions in a Card: avatar, name, detail line and signed amount. Money in is green; pending and failed get a Badge. Has loading (skeleton rows) and empty states.
Same block, same props. Only the tokens change.
default · loading · empty
No transactions yet
Payments and transfers will show here.
Every piece links to its own spec.
| Prop | Type | Description |
|---|---|---|
| transactions | { id: string; name: string; detail: string; amount: number; status?: 'completed' | 'pending' | 'failed'; imageUrl?: string }[] | Negative amounts are money out. detail is the second line, e.g. 'Today · Groceries'. |
| currency / locale | string | Formatting with Intl.NumberFormat, sign always shown. |
| loading | boolean | Three skeleton rows and aria-busy. |
| onSelect / onSeeAll | (transaction) => void / () => void | Rows become buttons with onSelect; 'See all' appears with onSeeAll. |
npx shadcn add https://unbuiltui.com/r/transaction-list.json