Finance expenses
Expense approvals with the policy questions answered: no receipt, over the category limit, a weekend, a possible duplicate. Approve one or many; rejecting asks for a reason the employee sees.
When to use
- Spend management and expense products.
- Any approval queue for money people spent.
When not to use
- Approving documents or access; use the approval queue.
Installation
pnpm dlx shadcn@latest add @caliper/finance-expenses
Adds its 14 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
FinanceExpenses
6 props
expenseFlags
13 props
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 region, img and status semantics, with aria-label, aria-hidden, aria-expanded and aria-controls 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/finance-expenses.mdThe index of every part is at /llms.txt.