Documentation menu
Getting Started
Components
Primitives
- Agent Thinking
- Alert
- Alert Dialog
- Avatar
- Badge
- Breadcrumb
- Button
- Button Group
- Calendar
- Card
- Checkbox
- Command
- Command Palette
- Context Menu
- Data Table
- Dialog
- Dropdown Menu
- Empty
- Field
- Glow Cloud
- Input
- Label
- Medication Schedule
- Period Tabs
- Popover
- Rainbow Button
- Scroll Area
- Select
- Selectable Card
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Sonner
- Spinner
- Switch
- Table
- Tabs
- Tag
- Textarea
- Timeline
- Tooltip
- Use Count Up
Charts and metrics
Patterns
- Confirm Button
- Date Picker
- Embedded
- Empty State
- Entity Drawer
- Error Boundary
- Field Row
- File Dropzone
- Form Dialog
- Kv
- List Editor
- List Page
- Live Time
- Mini Table
- Money
- Note Field
- Note Text
- Page Card
- Page Header
- Page Tabs
- Page Toolbar
- Person Cell
- Picture Field
- Print Card
- Range Switcher
- Row Actions
- Search Input
- Search Select
- Selected Box
- Signature Pad
- Status Badge
- Sub Nav Layout
- Suggest Input
- Tab Icons
- Table Footer
- Theme Accent Picker
- Time Picker
- View All Link
Dashboard cards
Advanced
Device frames
Website widgets
Website screens
Website panels
Website screens
Billing Screen
The billing step: an invoice with an insurance split and what the patient pays.
import { BillingScreen } from "@/registry/vcare/site/screens/billing-screen"
export default function SiteBillingScreenDemo() {
// Screens fill the main area beside the side nav, about 600 px wide.
return (
<div className="vc-site grid place-items-center overflow-x-auto rounded-2xl bg-[#f5f6f8] p-6">
<div className="w-full max-w-[640px]">
<BillingScreen />
</div>
</div>
)
}Installation
npx shadcn@latest add @vcare/site-billing-screenOr install directly from the URL: https://ui.vcarehms.com/r/site-billing-screen.json
- Add the registry items it uses: site-kit, site-theme.
- Copy this file into your project and change the
@/registry/vcare/…imports to your own paths.
components/site/screens/billing-screen.tsx
import { Badge, Item, Panel } from '../ui/kit';
/** The billing step: an invoice with an insurance split and what the patient pays. */
export function BillingScreen() {
return (
<Panel title="Invoice NV10019" action={<Badge tone="amber">Part insured</Badge>}>
<div className="p-4 text-[12.5px]">
{[['Consultation', '$80'], ['CBC and lipid profile', '$140'], ['Chest X-ray', '$90'], ['GST 5%', '$15.50']].map(([l, v], i) => <Item key={l} i={i} className="flex justify-between border-b border-[#f1f2f5] py-2 text-ink"><span>{l}</span><span className="font-semibold">{v}</span></Item>)}
<Item i={4} className="mt-3 flex items-center justify-between rounded-xl bg-[#e3f4f1] p-3"><span className="font-semibold text-[#0b7f73]">Patient pays</span><span className="text-xl font-bold text-[#0b7f73]">$105</span></Item>
</div>
</Panel>
);
}Usage
import { BillingScreen } from "@/components/site/screens/billing-screen"Exports
BillingScreen
Dependencies
@vcare/site-kit(registry)@vcare/site-theme(registry)
Raw item: /r/site-billing-screen.json