For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: One row per SKU and location with bin, on hand, allocated and available units, 4 filter selects and bulk Adjust or Transfer
When to use
- Stock overview and ledger pages: KPI tiles, a stock health bar and a filterable SKU table
- A low stock reorder queue, or a purchase order received line by line from its supplier
- Product and order overlays: stock rules, variants and photos, order review, tracking or a shipping label
When not to use
- A plain stock list with badges and an actions menu, with no filters or selection: use the Table component
- A product grid with stock flow tooltips and supplier logos but no bins or bulk bar: use the Stock Health block
- A team overview of KPI tiles and charts where nothing tracks stock or SKUs: use the Dashboard blocks
- A side panel for a record other than a product, order or shipment: use the Sheet blocks
- An activity or event history on its own, with no stock or shipment around it: use the Timeline blocks
Agent notes
STOCK_ROWSis the sample ledger andSTOCK_DETAILthe sample sheet record; replace both with your stock and movement dataStockDetailSheetalways rendersSTOCK_DETAILandhandleViewopens it only for SKU-00482; other rows get a toastrunBulkActionand the row menu items Adjust, Transfer and Create PO only fire toasts; the bulk path also clears the selection- Every block sets a
min-h-svhwrapper with its own padding in page.tsx or its root component; drop it when the block mounts inside your app layout - No block fetches or saves anything: actions set local state, fire a sonner
toast, link to a page anchor or have no handler, so wire each to your API
Third-party API docs
- TanStack Table v9: API reference, docs
- Sonner v2: API reference, docs
https://web.dev.reui.io/blocks/solutions/inventory/solution-inventory-2.mdget_block("solution-inventory-2")npx shadcn@latest add @reui/solution-inventory-2Shadcn Components in the Stock Ledger Block
Dependencies
- @tanstack/react-table
- cn
- sonner
Shadcn Stock Ledger Block
Full-Page SKU Inventory Ledger with Stock Health Metrics. Part of the ReUI Shadcn Solutions Inventory blocks collection.
Stock ledger with KPI and health bar, filterable SKU grid (search, category, supplier, location, status), row actions, bulk operations, and detail sheet. ReUI DataGrid, Frame, Badge; shadcn Button, Select. Inventory management and warehouse tracking.
It is composed from Avatar, Badge, Button, Data Grid, Dropdown Menu, Frame, Input Group, Scroll Area, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Stock Ledger Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn Solutions Inventory blocks to assemble a full screen instead of a single section.
All Shadcn Solutions Inventory Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Inventory Dashboard SKU Inventory Operations Dashboard with Stock-Health Bar and Tabbed SKU Grid
- Stock Reorder Low Stock Reorder Queue with At-Risk Value KPI and Bulk Create PO DataGrid
- PO Receiving Purchase Order Receiving Page with Line-Item Tracking and Activity Timeline
- Shop Activity Shop Activity Dashboard
- Stock Health Stock Health Grid
- Product Stock Planner Stock Planner
- Reorder Rules Stock Detail
- Shipment Tracking Track Shipping
- Shipping Label Create Shipping Label
- Order Details Order Details
Related Shadcn Solutions Block Categories
- Dev Ops (6) Platform and SRE console pages for scheduled jobs, deployments, audit trails, edge firewall rules, SLOs and data connections.
- AI Ops (9) AI startup control plane pages for model providers, prompts, token cost, routing, and quotas.
- CRM (9) Sales CRM pages for founders, agencies, and startups managing leads and deals.
- Agents (10) AI agent run operation, approval, tool permission, and evaluation pages.
- Analytics (9) Product usage, activation, cohort, event, experiment, and growth reporting pages.
- Billing (9) Subscription, invoice, metering, plan, upgrade, and failed payment pages.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the Stock Ledger block?
Use it for one row per SKU and location with bin, on hand, allocated and available units, 4 filter selects and bulk Adjust or Transfer.
The Inventory category fits:
- Stock overview and ledger pages: KPI tiles, a stock health bar and a filterable SKU table
- A low stock reorder queue, or a purchase order received line by line from its supplier
- Product and order overlays: stock rules, variants and photos, order review, tracking or a shipping label
For a plain stock list with badges and an actions menu, with no filters or selection, use the Table component. For a product grid with stock flow tooltips and supplier logos but no bins or bulk bar, use the Stock Health block. For a team overview of KPI tiles and charts where nothing tracks stock or SKUs, use the Dashboard blocks. For a side panel for a record other than a product, order or shipment, use the Sheet blocks. For an activity or event history on its own, with no stock or shipment around it, use the Timeline blocks.
What is the Stock Ledger block built with?
Can I restyle the Stock Ledger block?
How should I use Shadcn inventory blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.