Recent Transactions Table
Free Table React component — RecentTransactionsTable. MIT licensed, copy-paste ready for Next.js and Tailwind CSS.
Stripe-style transaction list with positive and negative amounts and simple pagination.
Preview
Transactions
This month
| Description | Date | Amount |
|---|---|---|
| Payment from Northwind | Mar 8 | +$420.00 |
| AWS infrastructure | Mar 8 | −$31.20 |
| Stripe payout | Mar 7 | +$890.00 |
| Refund — Order #3207 | Mar 6 | −$64.00 |
| Client retainer | Mar 5 | +$250.00 |
Page 1 of 2
Setup
How to use
Free for personal and commercial use. No UI attribution required. Include the MIT copyright notice when copying component source into your project. Read the MIT license.
- 1
Run in your terminal:
$npm install clsx tailwind-merge lucide-react - 2
Copy
lib/cn.tsbelow. Skip if you already havecn(). - 3
Copy the code below and create
components/table/recent-transactions-table.tsxin your project. - 4
Import and render:
Exampleimport { RecentTransactionsTable } from "@/components/table/recent-transactions-table";
lib/cn.ts
import { cn } from '@/lib/cn';// Full source is available in the repository checkout.
components/table/recent-transactions-table.tsx
// Full source: components/components/table/recent-transactions-table.tsx// The Cloudflare worker does not expose the source tree at request time.