The money screen of an AI workspace: four KPI cards with sparklines, collected against invoiced per month with a 3, 6 or 12 month range, contracts by status and open pipeline by source as donuts with a value legend, and the pipeline funnel with the share that moved on at each step.
This page holds the props and the code. See the template, its screens and a live preview.
- B2B revenue dashboard
- Founder weekly numbers
- Collections review
- Pipeline overview
Examples
Installation
Installation is part of Pro
Pro components install from a licensed registry. The live preview stays open to everyone.
Props
- defaultRange
3|6|12- Default
12 - Months on the line chart. Whole months only, so the current month never reads as a drop.
- onAction
(id) => void- Edit cards and Add card.
- installed
ModuleId[]- Default
this module - Modules whose screen you installed. They are links in the sidebar; the rest are dimmed with a dashed mark.
- hrefs
Partial<Record<ModuleId, string>>- Default
"#/<id>" - The URL of each installed module.
- onNavigate
(id: ModuleId) => void- A sidebar row was picked. With it, hash links stay in the page (the bundle switches screens this way).
- layout
"page"|"fill"- Default
"page" - page: the window scrolls and the sidebar and topbar stick. fill: the page fills its parent and the main column scrolls.
- embedded
boolean- Default
false - For a page shown inside another page: no second main or aside landmark.
- labelPrefix
string- Prefixes the shell's landmark names so several previews on one page stay unique.
- className
string- On the outer box, for example a height with layout fill.
- Data
ai-workspace-data- Fernhill Supply Co., a made-up company: people, four agents, customers, contracts, leads, invoices and workspaces, dated to November 21, 2026. Every template reads it, so installed screens agree. Replace it with your own queries.
| Prop | Type | Default | Description |
|---|---|---|---|
| defaultRange | 3 | 6 | 12 | 12 | Months on the line chart. Whole months only, so the current month never reads as a drop. |
| onAction | (id) => void | - | Edit cards and Add card. |
| installed | ModuleId[] | this module | Modules whose screen you installed. They are links in the sidebar; the rest are dimmed with a dashed mark. |
| hrefs | Partial<Record<ModuleId, string>> | "#/<id>" | The URL of each installed module. |
| onNavigate | (id: ModuleId) => void | - | A sidebar row was picked. With it, hash links stay in the page (the bundle switches screens this way). |
| layout | "page" | "fill" | "page" | page: the window scrolls and the sidebar and topbar stick. fill: the page fills its parent and the main column scrolls. |
| embedded | boolean | false | For a page shown inside another page: no second main or aside landmark. |
| labelPrefix | string | - | Prefixes the shell's landmark names so several previews on one page stay unique. |
| className | string | - | On the outer box, for example a height with layout fill. |
| Data | ai-workspace-data | - | Fernhill Supply Co., a made-up company: people, four agents, customers, contracts, leads, invoices and workspaces, dated to November 21, 2026. Every template reads it, so installed screens agree. Replace it with your own queries. |
Accessibility
- The sidebar is the App Shell's: a navigation landmark with groups. A module that is not installed is a disabled row, so it is announced but cannot be followed.
- Quick chat in the topbar opens a dialog sheet named after the agent, with the screen's context as its description. Focus moves into it and returns to the button on close.
- The charts are figures with a name and a data table for screen readers. The donut legends are buttons that show or hide a slice, with the value and share as text.
- The funnel is an ordered list of named progress bars.
What it handles
- 01Shows four KPI cards with sparklines: ARR from the live contracts, what came in last month, the open pipeline and what is owed.
- 02Draws collected against invoiced per month for 3, 6 or 12 whole months, so the current month never reads as a drop.
- 03Shows contracts by status and the open pipeline by source as donuts with a legend of values and shares that toggles slices.
- 04Lists the pipeline funnel since January on one line per step with the share that moved on and the largest drop marked.
- 05Works every number out of the shared dataset, so it agrees with the customers and invoices screens.
- 06Opens Quick chat with Otto on the screen's numbers.
States
- First render
- The charts draw at their final values
- none
- Range
- The line chart shows 3, 6 or 12 months
- none
- Legend click
- The slice hides and the rest reflow
- none
| State | What moves | Timing |
|---|---|---|
| First render | The charts draw at their final values | none |
| Range | The line chart shows 3, 6 or 12 months | none |
| Legend click | The slice hides and the rest reflow | none |
Works with
When to use
When to use
- The money screen of a small B2B company: ARR, what came in, what is owed, contracts and the pipeline.
- A founder's weekly look at revenue with an agent to ask about it.
When not to use
- Personal or studio money with bills: use Finance Overview.
- Credits and spend of an AI product: use Spend Overview.
Using with AI
Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:
- Add the Knowns UI Revenue Dashboard to my app and wire it to my own data.
- I need the money screen of a small B2B company: ARR, what came in, what is owed, contracts and the pipeline. Set that up with the Knowns UI Revenue Dashboard.
- Which Revenue Dashboard props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "template-revenue-dashboard" }) and search_docs({ query: "revenue dashboard" }). Pro props, full examples and source come back once your license key is in the MCP config.