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: The current year against last year with a switchable linear or 3 point moving average trend, by month or by quarter
When to use
- A metric over time drawn as a gradient filled area and read against an earlier period or a baseline
- Dashboard widgets whose toolbar reshapes the view and exports the plotted data as CSV
- Report cards where a hovered point reads out beside its earlier value or its share of the whole
When not to use
- Ad impressions split by channel, the current window against the one before: use the Campaign Impressions block
- Actual sales tracked against a dashed target with a fixed date marker: use the Sales vs Goal block
- A series held against a target or limit line drawn across the same axis: use the Composed Chart blocks
- Several KPI tiles, each with a tiny trend tucked under its value: use the Sparkline blocks
- Conversion stages where each step keeps only part of the volume before it: use the Sankey Chart blocks
Agent notes
- Replace
monthlyLeadsandyears; the Quarter view sums 3 months at a time, so keep all 12 months for both years linearFitandcenteredAveragefit only this year'scurrentvalues, so last year never gets a trendsyncedAtis a fixed label and Refresh only remounts the plot afterREFRESH_MS, refetching nothing- Keep the
useIdprefix on any newlinearGradientid, so 2 copies of a block on one page never share a fill - Copy and export confirmations call
toastfromsonner, so the app needs a mounted Toaster to show them Charttakes no props, so real figures replace the sample rows in the block's data file
Third-party API docs
- Recharts v3: API reference, docs
- Sonner v2: API reference, docs
https://reui.io/blocks/chart/area-chart/chart-52.mdget_block("chart-52")npx shadcn@latest add @reui/chart-52Shadcn Components in the Inbound Leads Block
Dependencies
- cn
- recharts
- sonner
Shadcn Inbound Leads Block
Monthly leads area chart comparing this year to last, with a widget toolbar and accent picker. Part of the ReUI Shadcn Area Chart blocks collection.
Leads per month or quarter over an area fill with drifting dots, against last year in grey, with a trend line. Display and Trend menus, color picker, refresh, expand dialog, CSV and copy export. shadcn Card, ReUI ColorPicker. CRM dashboard.
It is composed from Button, Button Group, Card, Chart, Color Picker, Dialog, Dropdown Menu, Spinner, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Inbound Leads 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 Area Chart blocks to assemble a full screen instead of a single section.
All Shadcn Area Chart 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.
- Generation Mix Power generation mix ridgeline chart with 6 sources in 3D depth, a 2D toggle and baseline menu
- Campaign Impressions Campaign impressions chart of this period against the prior one, with 4 stats and a channel filter
- Orders Overview Orders overview chart with orders, revenue and average order tabs over a hatched gradient area
Related Shadcn Charts Block Categories
- Bar Chart (12) Bar and column charts, stacked hourly outcomes, 3D prisms, diverging lanes and lollipop stems for comparing values.
- Composed Chart (5) Composed charts that layer areas and lines on one axis, with reference lines, goals and release markers.
- Line Chart (6) Line chart cards with single and multi-series lines, dual axes, reference lines and metric switchers.
- Pie Chart (2) Pie and donut chart cards with center totals, per-segment legends and period tabs for share of a whole.
- Radial Chart (3) Radial gauges with semicircle and full arcs, segmented rings and status labels for progress toward a target.
- Sankey Chart (3) Sankey flow charts for income statements, trial journeys and sales funnels, with hover tracing, drop-off nodes and leak markers.
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 (43) Browse 43 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (51) Browse 51 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (18) Browse 18 Shadcn AI & Agents blocks across 2 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 Inbound Leads block?
Use it for the current year against last year with a switchable linear or 3 point moving average trend, by month or by quarter.
The Area Chart category fits:
- A metric over time drawn as a gradient filled area and read against an earlier period or a baseline
- Dashboard widgets whose toolbar reshapes the view and exports the plotted data as CSV
- Report cards where a hovered point reads out beside its earlier value or its share of the whole
For ad impressions split by channel, the current window against the one before, use the Campaign Impressions block. For actual sales tracked against a dashed target with a fixed date marker, use the Sales vs Goal block. For a series held against a target or limit line drawn across the same axis, use the Composed Chart blocks. For several KPI tiles, each with a tiny trend tucked under its value, use the Sparkline blocks. For conversion stages where each step keeps only part of the volume before it, use the Sankey Chart blocks.
What is the Inbound Leads block built with?
Can I restyle the Inbound Leads block?
How should I use Shadcn area chart 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.