---
title: "Orders"
description: "An orders table block with today's totals, row selection, and a bulk Mark shipped action."
plan: Pro
docs: https://ui.edbn.me/docs/tables/orders-data-table
---

# Orders

An orders table block with today's totals, row selection, and a bulk Mark shipped action.

Six orders with checkboxes, where only unfulfilled orders can be selected and the header box selects every one of them or shows a mixed state. Mark shipped sets the selected orders to Shipped, clears the selection and lowers the count still to fulfil above.

A live line in the toolbar says how many are selected, and Clear drops the selection. The toolbar keeps its height either way, so the table never moves.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/orders-data-table
```

## Dependencies
- npm: @tanstack/react-table@^9.2.4, lucide-react@^1.33.0
- edbn: edbn-base, data-table, button, checkbox

## Usage

The example code is part of Pro (https://ui.edbn.me/pricing). With the user's token, the edbn MCP server's `get_example` tool returns it: https://ui.edbn.me/mcp

## Files
- components/data-table/blocks/orders-data-table.tsx (263 lines)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
