About
An inventory reorder workspace with low and out-of-stock filters, search, stock bars, per-item suggested quantities, a live order total, a supplier-grouped purchase order preview and a submitted confirmation.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Inventory Reorder to your project and fits it to your theme.
Code
How Inventory Reorder 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 { InventoryReorder, type InventoryItem } from "@/components/ui/inventory-reorder";
const ITEMS: InventoryItem[] = [
{
id: "north-tee",
name: "Northline tee",
sku: "TEE-NOR-M",
stock: 12,
reorderPoint: 30,
onOrder: 0,
leadTimeDays: 8,
unitCost: 9,
supplier: "Cedar Works",
},
{
id: "trail-pack",
name: "Trail daypack",
sku: "PK-TRL-22",
stock: 0,
reorderPoint: 18,
onOrder: 10,
leadTimeDays: 14,
unitCost: 32,
supplier: "Ridge Goods",
},
{
id: "camp-mug",
name: "Enamel camp mug",
sku: "MUG-CMP-12",
stock: 64,
reorderPoint: 24,
onOrder: 0,
leadTimeDays: 6,
unitCost: 5,
supplier: "Kiln Supply",
},
{
id: "merino-socks",
name: "Merino crew socks",
sku: "SOK-MER-2P",
stock: 21,
reorderPoint: 40,
onOrder: 0,
leadTimeDays: 10,
unitCost: 7,
supplier: "Loom & Co",
},
{
id: "rain-shell",
name: "Light rain shell",
sku: "JKT-RAI-M",
stock: 118,
reorderPoint: 35,
onOrder: 0,
leadTimeDays: 12,
unitCost: 41,
supplier: "Ridge Goods",
},
{
id: "bottle-750",
name: "Steel bottle 750",
sku: "BTL-STL-75",
stock: 0,
reorderPoint: 25,
onOrder: 0,
leadTimeDays: 9,
unitCost: 11,
supplier: "Kiln Supply",
},
{
id: "canvas-tote",
name: "Canvas market tote",
sku: "BAG-CNV-01",
stock: 48,
reorderPoint: 20,
onOrder: 0,
leadTimeDays: 7,
unitCost: 8,
supplier: "Cedar Works",
},
];
export default function InventoryReorderDemo() {
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">
<InventoryReorder items={ITEMS} title="Stock and reorder" />
</main>
);
}








