CRM home
Where the day starts: tasks due now, the quarter against quota, deals closing within 30 days, people going quiet and the latest activity, each a click from its record.
State
When to use
- The landing screen of a CRM or account tool.
- A personal view that turns records into the next things to do.
When not to use
- A company-wide dashboard; use CRM reports.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/crm-home
Adds its 22 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
CrmHome
11 props
PropTypeDefaultDescription
data *CrmData—
stages *readonly DealStage[]—
onDataChange *(data: CrmData) => void—
onOpenRecord *(kind: "person" | "company", id: string) => void—
onOpenDeal((id: string) => void)—
onShowAll((screen: "tasks" | "pipeline" | "contacts") => void)—Links each panel to its full screen.
quotanumber—This quarter's target.
todaystringnew Date().toISOString().slice(0, 10)ISO date treated as today.
you *string—Your name: the day is yours.
currencystring"EUR"
classNamestring—
Keyboard
- Keyboard and focus come from Radix dialog, popover: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.
Accessibility
It exposes status semantics, with aria-label, aria-hidden and aria-describedby kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/crm-home.mdThe index of every part is at /llms.txt.
More in Work tracking
CRM pipelineA pipeline that says what the quarter will bring: totals and weighted values per stage, a forecast against quota, overdue dates flagged, drag or Alt-arrows between stages and a record for each deal.CRM contactsEveryone you sell to in one list: filter by relationship and owner, see who is going cold, select several to reassign or move on, and add people with a checked form.CRM companiesThe accounts you sell to and look after: what each pays, what is open in the pipeline, the people you know there, and health and renewals that need a conversation soon.