About
A payroll run workspace with editable hours, overtime and bonuses on desktop tables and mobile cards, per-person gross, tax and net, animated regular/overtime/bonus totals, inclusion toggles, search, an approval summary and a queued-payslips confirmation.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Payroll Run to your project and fits it to your theme.
Code
How Payroll Run is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
/**
* PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
*/
import { PayrollRun, type PayrollEmployee } from "@/components/ui/payroll-run";
const EMPLOYEES: PayrollEmployee[] = [
{ id: "amara", name: "Amara Okafor", role: "Product designer", rate: 52, hours: 72, overtime: 4, bonus: 250 },
{ id: "theo", name: "Theo Nakamura", role: "Backend engineer", rate: 68, hours: 80, overtime: 6, bonus: 0 },
{ id: "lena", name: "Lena Fischer", role: "Support lead", rate: 41, hours: 76, overtime: 0, bonus: 150 },
{ id: "jonas", name: "Jonas Weber", role: "Data analyst", rate: 47, hours: 80, overtime: 2, bonus: 0 },
{ id: "priya", name: "Priya Raman", role: "QA engineer", rate: 44, hours: 68, overtime: 0, bonus: 100 },
{ id: "sam", name: "Sam Rivera", role: "Account manager", rate: 46, hours: 80, overtime: 0, bonus: 300 },
{ id: "noah", name: "Noah Bennett", role: "Content editor", rate: 38, hours: 60, overtime: 0, bonus: 0 },
];
export default function PayrollRunDemo() {
return (
<main className="flex min-h-screen w-full items-start justify-center bg-gradient-to-b from-muted/40 via-background to-background px-4 py-8 sm:px-6">
<PayrollRun
employees={EMPLOYEES}
period="Nov 1 – Nov 15"
taxRate={0.22}
title="Mid-month payroll"
/>
</main>
);
}








