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: Social channels compared as lines on one metric at a time, with previous-period ghosts and a per-channel totals table
When to use
- A balance, price or revenue trend as a single stroke with period tabs and a peak marker
- Several platforms or channels compared as separate strokes on one time axis
- Two measures on different scales plotted against left and right axes
When not to use
- One metric's trend with KPI tiles switching what the plot shows: use the Metric Switcher block
- Revenue split into streams against a dashed baseline: use the Revenue Trend block
- A trend that needs its volume emphasized with a filled region below it: use the Area Chart blocks
- Compact tiles where each figure carries a small trend of its own: use the Sparkline blocks
Agent notes
- Replace
spanTalliesin social-view.ts with your hourly or daily ledger;rowsOfandsummariesOfbucket it for the plot, table and exports - A new channel needs a key in
CHANNELS, achartConfigentry and its classes inSERIES_TONE,BAR_TONEandSPOTLIGHT refreshonly waitsREFRESH_MSand bumpsrevision, which redraws the lines and theupdatedstamp; wire it to refetch your analytics- Series colors live in the
ChartContainerconfig; chart-6 and chart-26 plot in aComposedChartwith anArea, the others in aLineChart
Third-party API docs
- Recharts v3: API reference, docs
- Sonner v2: API reference, docs
https://web.dev.reui.io/blocks/chart/line-chart/chart-23.mdget_block("chart-23")npx shadcn@latest add @reui/chart-23Shadcn Social Engagement Block
Social engagement line chart comparing channels by metric with a per-channel breakdown table. Part of the ReUI Shadcn Line Chart blocks collection.
Facebook, Instagram and LinkedIn lines over 24 hours to 12 months, switchable between engagement rate, engagements, impressions and link clicks, a format filter, previous-period ghosts and a per-channel table. ReUI Frame, Badge. Social analytics.
It is composed from Badge, Button, Button Group, Chart, Dropdown Menu, Empty, Frame, Progress, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Social Engagement 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 Line Chart blocks to assemble a full screen instead of a single section.
All Shadcn Line 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.
- Balance Tracker Portfolio balance line chart with range tabs, high and low markers and a benchmark overlay
- Metric Switcher Metric switcher trend chart with KPI tiles, a previous-period ghost line and event annotations
- Revenue Trend Revenue trend line chart with subscription and one-time streams against the previous period
- Sales vs Traffic Dual-axis sales vs traffic line chart with period compare, line color pickers and store KPIs
- Floor Monitor NFT floor price line chart with a top bid spread band and a floor alert
Related Shadcn Charts Block Categories
- Area Chart (4) Area chart cards with gradient fills, comparisons to a prior period or baseline, hover readouts and CSV export for trends over time.
- 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 mix bars, lines and areas on one axis: liquidity flows, sales against a goal, cashflow, margin and a canary rollback.
- Pie Chart (3) Donut cards for share of a whole, with source rows, version drill-down and period switches, plus a budget rose for spend against budget.
- Radial Chart (3) Radial cards for a value against a limit or target: concentric error budget rings, API health ring gauges and a day clock of inflows.
- 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 (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 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 Social Engagement block?
Use it for social channels compared as lines on one metric at a time, with previous-period ghosts and a per-channel totals table.
The Line Chart category fits:
- A balance, price or revenue trend as a single stroke with period tabs and a peak marker
- Several platforms or channels compared as separate strokes on one time axis
- Two measures on different scales plotted against left and right axes
For one metric's trend with KPI tiles switching what the plot shows, use the Metric Switcher block. For revenue split into streams against a dashed baseline, use the Revenue Trend block. For a trend that needs its volume emphasized with a filled region below it, use the Area Chart blocks. For compact tiles where each figure carries a small trend of its own, use the Sparkline blocks.
What is the Social Engagement block built with?
Can I restyle the Social Engagement block?
How should I use Shadcn line 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.