DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.8K
Sign inGet All-Access
Categories
Base8
AdvancedAdded 2 new Data Grid Advanced blocks, 5 in all14
  • Ad Campaign Performance
  • Regional Store P&L
  • Campaign Target Review
  • SLO Reliability Index
  • Wholesale Onboarding
  • Stock Mix
  • Fourplex Pro Forma
  • Product KPI Grid
  • Service Visit Planner
  • Technician Capacity
  • Factory Scorecard
  • Freight & Cargo Services
  • HR Scorecard
  • Prospect Database
Columns5
Drag & Drop4
Editing6
Expansion3
Filtering4
Grouping7
Virtualization2

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: Pricing teams finding losing freight lanes in a split-cell matrix, reading each lane and its backhaul, then repricing

When to use

  • Reporting tables whose rows carry in-cell bars, sparklines or heat cells beside the figures
  • Performance reviews that weigh each record against a target, a plan or a prior period
  • Review queues and record lists with create, edit, delete and undo, each row opening a tabbed sheet

When not to use

  • Store P&L by geography with plan attainment and a tree of markets: use the Regional Store P&L block
  • A rule builder on its own, to narrow a list or table you already have: use the Filters component
  • A plain sortable table of text cells, assembled from parts in your own layout: use the Data Grid component
  • Values typed into the cells themselves, with validation and a save or discard bar: use the Editing blocks

Agent notes

  • Swap TERMINALS, SHIPPERS and RATE_HISTORY in data.ts; seedLanes only builds the demo LANES, so load your own lane list
  • bandOf sets the bands, figuresOf the lane economics, formatCellFigure the cell halves; rates and costs are per loaded km, from kmBetween
  • useLaneStore changes only React state; send createLane, updateLane, closeLane and reprice to your API
  • Rows live in a client store hook whose create, update and remove change only browser state; back them with your API
  • Search, filters and sort run in the browser over every row before useTable sees them; move that query to your API at scale
  • Each page.tsx wraps the block in a min-h-svh main with padding, a max-w-7xl width and an sr-only h1; drop that wrapper inside an app shell

Third-party API docs

  • TanStack Table v9: API reference, docs
  • Sonner v2: API reference, docs
Markdownhttps://reui.io/blocks/data-grid/advanced/data-grid-advanced-12.md
MCPget_block("data-grid-advanced-12")
Installnpx shadcn@latest add @reui/data-grid-advanced-12
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in the Freight & Cargo Services Block

  • AlertReUI
  • Alert Dialog
  • AutocompleteReUI
  • Avatar
  • BadgeReUI
  • Button
  • CascaderReUI
  • Data GridReUI
  • Dialog
  • Dropdown Menu
  • Empty
  • Field
  • FiltersReUI
  • FrameReUI
  • Input
  • Input Group
  • Number FieldReUI
  • Popover
  • Select
  • Separator
  • Sheet
  • Skeleton
  • Switch
  • Table
  • Tabs
  • TimelineReUI
  • Toggle Group
  • Tooltip

Dependencies

  • @tanstack/react-table
  • cn
  • sonner

Shadcn Freight & Cargo Services Block

Freight lane matrix with headhaul and backhaul split cells, a path to both edges and a lane modal. Part of the ReUI Shadcn Data Grid Advanced blocks collection.

Origin by destination matrix for a road freight network across 12 European countries: each cell splits the headhaul, coloured by margin band, from the backhaul, with a lane modal, totals and repricing. ReUI DataGrid, Filters, Cascader, Timeline.

It is composed from Alert, Alert Dialog, Autocomplete, Avatar, Badge, Button, Cascader, Data Grid, and more, so every part of it is a primitive you can restyle with your own design tokens.

What You Can Build With the Freight & Cargo Services 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 Data Grid Advanced blocks to assemble a full screen instead of a single section.

All Shadcn Data Grid Advanced 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.

  • Ad Campaign Performance Campaign performance grid with in-cell sparklines, ROAS bullet charts and new buyer share bars
  • Regional Store P&L Store P&L grid with a geography tree, plan attainment bars and profit vs FY25 loss and gain cells
  • Campaign Target Review Campaign target grid with diverging ROAS and CPA bars, channel-grouped rows and a column filter row
  • SLO Reliability Index SLO error budget grid and linked lollipop chart with a shared objective and window override
  • Wholesale Onboarding Wholesale application review grid with quick-update cells and expandable door rows
  • Stock Mix Retail Stock Mix Sheet With Categories as Columns, Pinned Totals and Range Editing
  • Fourplex Pro Forma Rental Property Pro Forma Grid With Section Subtotals, Pinned Returns and Line Editing
  • Product KPI Grid KPI grid of products with photo tiles, revenue trends, promo calendars and KPI status segments
  • Service Visit Planner Kitchen service visit planner with a three week day matrix and a coverage column
  • Technician Capacity Auto repair technician capacity by day with bookings, overtime and time off
  • Factory Scorecard Factory scorecard grid with spend rank movement, a shared OTIF lane with a goal and next buy calls
  • HR Scorecard HR KPI scorecard grid with collapsible groups, tinted index cells, trends and target editing
  • Prospect Database B2B prospect database grid with intent cards, a filter builder, rep owners, a hand over and lists

Related Shadcn Data Grid Block Categories

  • Base (8) Complete table screens with toolbar filters and pagination for CRM, support, team, project, and pricing data.
  • Columns (5) Column visibility, pinning, resizing, density, and settings controls.
  • Drag & Drop (4) Drag-and-drop row and column reordering with sortable handles.
  • Editing (6) Inline create, edit, and delete cells for full CRUD workflows.
  • Expansion (3) Expandable parent rows with nested sub-rows and master-detail panels.
  • Filtering (4) Search, faceted filters, filter builders, and status tab toolbars.

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 (305) Browse 305 Shadcn Application blocks across 23 categories.
  • Shadcn Data Grid Blocks (53) Browse 53 Shadcn Data Grid blocks across 9 categories.
  • Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
  • Shadcn Solutions Blocks (83) Browse 83 Shadcn Solutions blocks across 13 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 Freight & Cargo Services block?

Use it for pricing teams finding losing freight lanes in a split-cell matrix, reading each lane and its backhaul, then repricing.

The Advanced category fits:

  • Reporting tables whose rows carry in-cell bars, sparklines or heat cells beside the figures
  • Performance reviews that weigh each record against a target, a plan or a prior period
  • Review queues and record lists with create, edit, delete and undo, each row opening a tabbed sheet

For store P&L by geography with plan attainment and a tree of markets, use the Regional Store P&L block. For a rule builder on its own, to narrow a list or table you already have, use the Filters component. For a plain sortable table of text cells, assembled from parts in your own layout, use the Data Grid component. For values typed into the cells themselves, with validation and a save or discard bar, use the Editing blocks.

What is the Freight & Cargo Services block built with?

Freight & Cargo Services uses Alert, Alert Dialog, Autocomplete, Avatar, Badge, Button, Cascader, Data Grid, Dialog, Dropdown Menu, Empty, Field, Filters, Frame, Input, Input Group, Number Field, Popover, Select, Separator, Sheet, Skeleton, Switch, Table, Tabs, Timeline, Toggle Group, Tooltip. Installing the block through the ReUI registry pulls those dependencies in for you.

Can I restyle the Freight & Cargo Services block?

Yes. It reads your design tokens, so switching style, radius, base color, font, or icon library in the customizer restyles it without touching the markup.

How should I use Shadcn advanced blocks in a real project?

Treat them as structured starting points. Keep the layout, hierarchy, and interaction ideas that work, then replace placeholder content, data wiring, and business logic with your own product requirements.
PreviousFactory ScorecardNextHR Scorecard

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App Shell
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats2 meter cards moved here from Charts, 17 in all
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedAdded 2 new Data Grid Advanced blocks, 5 in all
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area ChartAdded a new Inbound Leads area chart block
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sankey ChartNew Sankey Chart category with 3 flow chart blocks
  • Slope ChartNew Slope Chart category with 2 rank-shift chart blocks
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity
  • AI UsageNew AI Usage category with 2 spend blocks

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Map
  • Travel
  • Users
  • Digital TwinNew Digital Twin category with 2 interactive 3D blocks

Templates

  • E-commerce
  • SaaS
  • Dashboard
  • Landing
  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.8K
  1. Blocks
  2. Data Grid
  3. Advanced
  4. Freight & Cargo Services
DocsMarkdownShare

Shadcn Freight & Cargo Services

Origin by destination matrix for a road freight network across 12 European countries: each cell splits the headhaul, coloured by margin band, from the backhaul, with a lane modal, totals and repricing. ReUI DataGrid, Filters, Cascader, Timeline.