# Ecommerce Restocks and Drop: Size Restock Table

A heading and a per size table with status badges, next batch dates, queue lengths, and a notify or add to cart action per row.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/size-restock-table
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro), Standard tier
- Group: [Restocks and Drops](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/size-restock-table.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-pro-restock-sections-size-restock-table
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button, table
- Installs to: `@/components/blocks/ecommerce-pro/restock-sections/size-restock-table`

## About this block

Size Restock Table lays one product out size by size: XS through XL
down the rows, a status badge on each (in stock, a low count like three
left, or sold out), a next batch line, a queue length, and an action.
Sold out rows carry a notify button, available rows an add to cart.
Where a batch date exists it is stated; where it does not, the row says
so plainly, "no date yet, the queue is too short to cut for." The
header reads "The Merino Crew, size by size."

Sizes are one array with a status and action field. The footer rule
sets the notify contract, one email for one size, sent when it lands,
then the address is deleted, which is the reason a shopper trusts the
signup enough to leave it.

## When to use

Reach for this block on a product page where availability varies by
size, or a restock hub, next to the
[notify me card](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections). The counts
and dates have to match the shelf, since a wrong sold out badge costs a
sale and a wrong date costs trust.

A natural flow around it on an Ecommerce Pro page:

**Before**

- [Product overview](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/product-overviews)

**After**

- [Size and fit](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/size-and-fit)
- [Email capture](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/email-capture-sections)

## What you can display

One strong use is an apparel item across a full size run. Other tables:

- **Color availability.** The same grid keyed by colorway instead of
  size.
- **Variant matrix.** Size against color for a product with both.
- **Bundle stock.** Component availability for a kit sold as one unit.

> Tip: an honest unknown ("no date yet") on a sold out row keeps the
> table credible; a shopper forgives a missing date far sooner than a
> date that slips.

## More in Ecommerce Restocks and Drops

- [Batch Status Tracker](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/batch-status-tracker)
- [Drop Calendar List](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/drop-calendar-list)
- [Most Requested Restocks List](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/most-requested-restocks-list)
- [Next Drop Countdown](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/next-drop-countdown)
- [Notify Me Card](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/notify-me-card)
- [Notify Me Inline Row](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/notify-me-inline-row)
- [Preorder Explainer](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/preorder-explainer)
- [Queue Fairness Policy](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/queue-fairness-policy)
- [Restock History Log](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/restock-history-log)
- [Restock History Note](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/restock-history-note)
- [Stock Counts Explainer](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/stock-counts-explainer)
- [Waitlist Position Card](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/waitlist-position-card)
- [Why Batches Explainer](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections/why-batches-explainer)
