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: Store sales against target over three periods at once, with colored region rails, region totals and a grand total pinned under the header
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
- 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
STORESholds each store'ssalesby month and itstargetsper fiscal year;SEASONphases a year target into months; swap in your sales and plan feedsreadingOfderives the three periods and the month strip for a picked month;buildRowssums stores into region totals andsumMonthsthe grand total- Edits stay in
DataGridViewstate; sendstoreFromDraft,applyDraftand the delete inconfirmDeleteto your API - Rows live in browser state, a store hook or a
useState, so every create, edit and delete is lost on reload; back each write with your API - Search, filters and sort run in the browser over every row before
useTablesees them; move that query to your API at scale - Each page.tsx wraps the block in a
min-h-svhmain with padding, amax-w-7xlwidth and an sr-onlyh1; drop that wrapper inside an app shell
Third-party API docs
- TanStack Table v9: API reference, docs
- Sonner v2: API reference, docs
- Base UI v1: API reference, docs, llms.txt
https://reui.io/blocks/data-grid/advanced/data-grid-advanced-21.mdget_block("data-grid-advanced-21")npx shadcn@latest add @reui/data-grid-advanced-21Shadcn Components in the Sales to Target Block
Dependencies
- @base-ui/react
- @tanstack/react-table
- cn
- sonner
Shadcn Sales to Target Block
Store sales to target grid with region rails, region totals, a pinned grand total and month strips. Part of the ReUI Shadcn Data Grid Advanced blocks collection.
Monthly store sales to target review on ReUI DataGrid: month, last three months and year to date as actual, target, variance and heat filled percent, colored region rails, region totals, a pinned grand total, month strips. ReUI Filters, Frame.
It is composed from Alert Dialog, Avatar, Badge, Button, Button Group, Cascader, Data Grid, Dropdown Menu, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Sales to Target 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
- Freight & Cargo Services Freight lane matrix with headhaul and backhaul split cells, a path to both edges and a lane modal
- HR Scorecard HR KPI scorecard grid with collapsible groups, tinted index cells, trends and target editing
- Strategy Scorecard Strategy scorecard tree grid with a perspective rail, weighted progress and in-cell change bars
- Retail P&L Outlook Monthly P&L outlook grid with a column aligned bar chart, budget variance flags and forecast editing
- Store KPI Board Store sales KPI grid with dot matrix trend headers, in-cell value bars, change bars and goal pace
- Support Scorecard Support team QA scorecard grid with QA rings, CSAT bars, speed badges and coaching suggestions
- Supplier Quality Board Supplier quality grid with a lot score swarm per row, accept rate and spend sparklines
- Category Forecast Category sales forecast grid with a month heatmap, department growth sliders and plan bullets
- Scale-up Index Dutch scale-up index grid ranking provinces with medals, map rails and Yes, No and N/A check cells
- Job Schedule Remodeling job schedule with daily crew hour chips and a workday slide for lost days
- Prospect Database B2B prospect database grid with intent cards, a filter builder, rep owners, a hand over and lists
- Category Margin Gross margin review grid with tree cells by month, a promotion dot band and a drill path
- Brand Scorecard Brand scorecard grid with brands as columns and a monthly range band under each brand mark
- Project Budget Project budget grid with health tiles, a schedule column and line decisions
- Invoice Manager Invoice manager grid with a collection timeline, expected pay days and next steps
- Family Budget Family budget grid with colored section rails, editable cells, cash flow trends and net worth
- Inventory Manager Inventory grid with department rails, a month end count, stock flow trends and a reorder calculator
- Vendor SLA Scorecard Vendor SLA scorecard grid with area sections, gap to target bars, trend lines and capped credits
Related Shadcn Data Grid Block Categories
- Base (9) Complete table screens with toolbar filters and pagination for CRM, support, team, project, pricing, and API log 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 (70) Browse 70 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (54) Browse 54 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (82) Browse 82 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 Sales to Target block?
Use it for store sales against target over three periods at once, with colored region rails, region totals and a grand total pinned under the header.
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 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 Sales to Target block built with?
Can I restyle the Sales to Target block?
How should I use Shadcn advanced 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.