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
Components
Components
181 components from the VCare app and website. Each has a live example, its source and a one-command install.
Primitives 44
Buttons, fields, menus, overlays and layout: the pieces every screen is made of.
Agent Thinking
Shows an AI agent's steps while it works: a shimmering title, a timer and collapsible steps.
@vcare/agent-thinking
Alert
A callout for a short, important message.
@vcare/alert
Alert Dialog
A modal that asks the user to confirm an action before it runs.
@vcare/alert-dialog
Avatar
A person's picture or initials, with a status badge and groups.
@vcare/avatar
Badge
A small label for status or counts.
@vcare/badge
Breadcrumb
Shows where the page sits in the hierarchy.
@vcare/breadcrumb
Button
The main action control, in six variants and four sizes, with a press-scale effect.
@vcare/button
Button Group
Buttons joined into one control, with separators and text.
@vcare/button-group
Calendar
A month calendar for picking a day or a range.
@vcare/calendar
Card
A surface that groups related content, with header, action and footer slots.
@vcare/card
Checkbox
A box that toggles between checked and unchecked.
@vcare/checkbox
Command
A searchable list of commands with keyboard navigation.
@vcare/command
Command Palette
A Cmd+K palette with groups, rich items and shortcuts.
@vcare/command-palette
Context Menu
A menu that opens on right-click.
@vcare/context-menu
Data Table
A full table on TanStack Table: sorting, selection, pinned columns, column visibility, pagination and skeletons.
@vcare/data-table
Dialog
A window on top of the page.
@vcare/dialog
Dropdown Menu
A menu of actions that opens from a button.
@vcare/dropdown-menu
Empty
An empty state with an illustration, title, description and actions.
@vcare/empty
Field
Label, description and error for a form control.
@vcare/field
Glow Cloud
An animated cloud mascot, used for the AI assistant.
@vcare/glow-cloud
Input
A text field, with number handling built in.
@vcare/input
Label
A caption for a form control.
@vcare/label
Medication Schedule
A day of doses on a timeline, with interaction warnings and conflicts.
@vcare/medication-schedule
Period Tabs
Today, 7 days, 30 days… tabs with a sliding pill.
@vcare/period-tabs
Popover
Floating content anchored to a trigger.
@vcare/popover
Rainbow Button
A button with an animated rainbow edge, for the one action that should stand out.
@vcare/rainbow-button
Scroll Area
A scroll container with thin, themed scrollbars.
@vcare/scroll-area
Select
Pick one option from a list.
@vcare/select
Selectable Card
A whole row that toggles a checkbox or switch, with a sentence of context.
@vcare/selectable-card
Separator
A thin line between content.
@vcare/separator
Sheet
A drawer from the edge of the screen, inset with rounded corners.
@vcare/sheet
Sidebar
The app sidebar: collapsible, with groups, menus, badges and a mobile drawer.
@vcare/sidebar
Skeleton
A placeholder while content loads.
@vcare/skeleton
Slider
Pick a value, or a range, by dragging.
@vcare/slider
Sonner
Toast notifications in the theme.
@vcare/sonner
Spinner
A loading spinner.
@vcare/spinner
Switch
A toggle between on and off.
@vcare/switch
Table
Plain table parts for small, static tables.
@vcare/table
Tabs
Tabs as a segmented control: a raised card on a muted track.
@vcare/tabs
Tag
Colored chips from the theme palette, soft or bold.
@vcare/tag
Textarea
A multi-line text field that grows with its content.
@vcare/textarea
Timeline
Events in order, with markers, connectors and status.
@vcare/timeline
Tooltip
A short hint on hover or focus.
@vcare/tooltip
Use Count Up
A hook that counts a number up to its value when it appears.
@vcare/use-count-up
Charts and metrics 23
Charts on Recharts and plain SVG, KPI cards, gauges and meters.
Activity Heatmap
A year of daily activity as a calendar heatmap, like a contributions graph.
@vcare/activity-heatmap
Activity Rings
Concentric progress rings toward daily goals.
@vcare/activity-rings
Bar Chart
Vertical or horizontal bars, stacked or grouped, with reference lines.
@vcare/bar-chart
Bar List
A ranked list where each row is a bar sized by its value.
@vcare/bar-list
Chart
The Recharts wrapper the charts use: themed colors, tooltip and legend.
@vcare/chart
Composed Chart
Bars, lines and areas on one chart, with two axes and reference lines.
@vcare/composed-chart
Delta Badge
A colored arrow and percentage for a change, up or down.
@vcare/delta-badge
Distribution Bar
One bar split into colored segments, with a legend.
@vcare/distribution-bar
Donut Chart
A donut with the total in the middle and a legend.
@vcare/donut-chart
Dot Plot
A grid of dots per column, for counts that read at a glance.
@vcare/dot-plot
Funnel Chart
Steps that narrow down, with conversion between steps.
@vcare/funnel-chart
Heatmap Chart
A grid of rows and columns colored by value.
@vcare/heatmap-chart
KPI Card
A headline number with its label, change and sparkline.
@vcare/kpi-card
Metric List
A list of metrics, each with a value, change and sparkline.
@vcare/metric-list
Metric Value
A number that abbreviates large values and animates when it changes.
@vcare/metric-value
Radar Chart
Compares series across several axes.
@vcare/radar-chart
Radial Gauge
A half or full gauge showing a value toward a target.
@vcare/radial-gauge
Sankey Chart
Flows between stages, with widths sized by volume.
@vcare/sankey-chart
Scatter Chart
Points on two axes, in one or more series.
@vcare/scatter-chart
Segmented Meter
A meter split into zones (low, normal, high) with a marker.
@vcare/segmented-meter
Sparkline
A tiny line or area chart without axes.
@vcare/sparkline
Tick Bar
Progress drawn as a row of ticks.
@vcare/tick-bar
Trend Chart
Lines or areas over time, with comparisons and a hover readout.
@vcare/trend-chart
Patterns 38
Bigger pieces from the VCare app: list pages, drawers, pickers, form dialogs and toolbars.
Confirm Button
A button that asks for confirmation before a destructive action.
@vcare/confirm-button
Date Picker
Date, date and time, month and date range pickers that follow the locale settings.
@vcare/date-picker
Embedded
Marks a section as shown inside another page, so page headers keep only their tabs.
@vcare/embedded
Empty State
Nothing to show: a picture, what that means and what to do next.
@vcare/empty-state
Entity Drawer
A detail drawer: header, scrollable sections and an action footer.
@vcare/entity-drawer
Error Boundary
Catches errors in one screen so it never blanks the whole app.
@vcare/error-boundary
Field Row
Label and control laid out for dialogs and forms.
@vcare/field-row
File Dropzone
Drag files in or browse, with previews and upload progress.
@vcare/file-dropzone
Form Dialog
A form in a side sheet, with cancel and save.
@vcare/form-dialog
Kv
A compact label and value tile.
@vcare/kv
List Editor
An editable list of rows (allergies, conditions, medications…) with add and remove.
@vcare/list-editor
List Page
A complete list screen: header, toolbar, search, table and footer count.
@vcare/list-page
Live Time
Minutes counting up or down from a time, sharing one clock.
@vcare/live-time
Mini Table
A light table for tabs and drawers, without sorting or paging.
@vcare/mini-table
Money
An amount in minor units, formatted in the currency setting.
@vcare/money
Note Field
A notes box with a switch to show it formatted.
@vcare/note-field
Note Text
Shows clinical notes formatted: headings, bullets and bold.
@vcare/note-text
Page Card
The card a page's filters and table sit in.
@vcare/page-card
Page Header
The page title row with a status chip, actions, tools and tabs.
@vcare/page-header
Page Tabs
Underline tabs for a page, and segmented tabs for sections.
@vcare/page-tabs
Page Toolbar
The filter row above a table, with pill filters.
@vcare/page-toolbar
Person Cell
A person's avatar, name and a detail line, for tables.
@vcare/person-cell
Picture Field
Choose one picture from a set.
@vcare/picture-field
Print Card
Cards for print and other main actions, with one big button.
@vcare/print-card
Range Switcher
Previous and next arrows around a week or month.
@vcare/range-switcher
Row Actions
The ⋯ menu at the end of a table row.
@vcare/row-actions
Search Input
A search box with an icon and clear button.
@vcare/search-input
Search Select
A searchable picker for long lists, grouped, with keyboard support.
@vcare/search-select
Selected Box
Shows the selected items with a total and actions.
@vcare/selected-box
Signature Pad
Draw a signature, exported as a PNG.
@vcare/signature-pad
Status Badge
A status label colored by its tone.
@vcare/status-badge
Sub Nav Layout
A page with its own section list on the left, like Settings.
@vcare/sub-nav-layout
Suggest Input
A text input that suggests earlier values.
@vcare/suggest-input
Tab Icons
Icons for common page tabs.
@vcare/tab-icons
Table Footer
The summary strip under a table.
@vcare/table-footer
Theme Accent Picker
Pick the theme accent color.
@vcare/theme-accent-picker
Time Picker
A time control in 12 or 24 hour format.
@vcare/time-picker
View All Link
A small "View all →" link.
@vcare/view-all-link
Dashboard cards 10
Ready dashboard cards that combine charts with headlines.
Activity Rings Card
Activity rings with the stats beside them.
@vcare/activity-rings-card
Alerts Card
A list of alerts with severity and time.
@vcare/alerts-card
Combo Chart Card
Bars and a line on two axes, with headline tiles.
@vcare/combo-chart-card
Heatmap Chart Card
A heatmap whose headline follows the cell under the pointer.
@vcare/heatmap-chart-card
Insight Card
A card with a headline number, a label and rows of detail.
@vcare/insight-card
Most Active Days Card
Which days of the week are most active, as rings.
@vcare/most-active-days-card
Sleep Score Card
A score with its parts as bars.
@vcare/sleep-score-card
Stage Bars Card
Time spent in each stage, as bars.
@vcare/stage-bars-card
Stat Cards
A responsive row of KPI cards.
@vcare/stat-cards
Steps Card
Steps per day for a week, with the goal.
@vcare/steps-card
Advanced 14
Data grid, calendar, Gantt, kanban, filters and cascader.
Autocomplete
A text input that suggests matches as you type.
@vcare/autocomplete
Badge Plus
A badge with more variants, appearances and sizes.
@vcare/reui-badge
Cascader
Pick from nested options column by column, with search, async loading and multiple selection.
@vcare/cascader
Data Grid
A spreadsheet-like grid: cell selection, editing, virtual scrolling, drag to reorder rows and columns, and pagination.
@vcare/data-grid
Date Selector
Pick a day, month, quarter, half year or year, or a range, with is, before and after.
@vcare/date-selector
Event Calendar
A full calendar: month, week, day, agenda and resource views, with drag and drop and recurring events.
@vcare/event-calendar
Filters
Filter chips and an advanced filter builder with operators, dates and saved queries.
@vcare/filters
Frame
A framed panel with header, title, description and footer.
@vcare/frame
Gantt
A Gantt chart with dependencies, drag to move and resize, and recurring tasks.
@vcare/gantt
Icon Stack
Overlapping icons in a row.
@vcare/icon-stack
Kanban
Columns of cards you can drag between.
@vcare/kanban
Sortable
Drag items to reorder a list or grid.
@vcare/sortable
Stepper
Steps of a process, with the current step and navigation.
@vcare/stepper
Timeline Plus
A timeline with dates, indicators and separators.
@vcare/reui-timeline
Website kit 7
The building blocks of the VCare marketing site: frames, headings, cards and phones. Wrap them in .vc-site.
Chip list
A centred row of white pill chips, such as the roles under a heading.
@vcare/site-chip-list
Feedback panel
"Doctors told us…": a user's quote in the product's panel style, with a Solved badge or any status.
@vcare/site-feedback-panel
Preview tile
A grey tile with a small product preview that lifts on hover, plus a title and a sentence.
@vcare/site-preview-tile
Section heading
The heading every website section opens with: the blueprint frame, a large title, a lead and optional chips or buttons, rising into view line by line.
@vcare/site-section-heading
Tint card
A tinted feature card: a soft product colour, an icon chip, a title and a sentence, with a footer (a panel or a quote) that slides up on hover. Lays out in a six-column bento grid.
@vcare/site-tint-card
Website kit
The website's building blocks: Frame (the framed product shot), Phone, Reveal (fade and rise into view), Badge, Avatar, Panel, Kpi, Btn and the icon set.
@vcare/site-kit
Website visual
Shows one of the product visuals (panels and widgets) by name, for content-driven pages.
@vcare/site-visual
Device frames 2
iPhone and Android frames for screenshots and live screens.
Android frame
A modern Android phone drawn in CSS, in three finishes, around screenshots or any live content. No image needed.
@vcare/site-android-frame
iPhone frame
An iPhone 16 Pro frame around screenshots (cross fading between several) or any live content. Ships with the frame artwork.
@vcare/site-iphone-frame
Website widgets 9
Dashboard widgets drawn in code, the way the website shows the app.
Bar Card
"Visits this week": a headline number with a change badge and seven bars that grow into view.
@vcare/site-bar-card
Calendar Card
A month calendar with the day's appointment count and coloured booked days.
@vcare/site-calendar-card
Donut Card
A health age score ring with the score in the middle and a legend.
@vcare/site-donut-card
Heatmap
Bed occupancy by hour as a heatmap, with occupancy, free, cleaning and waiting counts.
@vcare/site-heatmap
Patients Table
A patients table with department and status filters, search, status tags, last visit and amount due.
@vcare/site-patients-table
Profile Card
A patient's profile card: avatar, name, department and MRN, age, blood group and doctor.
@vcare/site-profile-card
Queue Mini
A live queue board in three columns: checked in, vitals check and with doctor.
@vcare/site-queue-mini
Quick Actions
A grid of quick action tiles: new patient, appointment, lab order, invoice and more.
@vcare/site-quick-actions
Side Nav
The app's side navigation: clinic switcher, search, sections with counts and the signed-in user.
@vcare/site-side-nav
Website screens 7
One app screen per step of a patient's visit, for walkthroughs.
Billing Screen
The billing step: an invoice with an insurance split and what the patient pays.
@vcare/site-billing-screen
Checkout Screen
The checkout step: payment taken and posted to the books.
@vcare/site-checkout-screen
Follow Up Screen
The follow up step: a WhatsApp reminder and a confirmed follow up booking.
@vcare/site-follow-up-screen
Forms Screen
The vitals step: blood pressure, pulse, temperature and BMI tiles with notes.
@vcare/site-forms-screen
Orders Screen
The orders step: lab, imaging, pharmacy and referral orders for the visit, each with its status.
@vcare/site-orders-screen
Patient Screen
The patient profile step: a duplicate warning, profile tabs and recent visits.
@vcare/site-patient-screen
Queue Screen
The queue step: today's counts and a board of patients from check in to consultation.
@vcare/site-queue-screen
Website panels 10
One panel per department, as on the Departments section.
Bed Board Panel
Inpatient: a ward bed board with occupied, cleaning, reserved and free beds.
@vcare/site-bed-board-panel
Crm Panel
Patient CRM: a WhatsApp conversation that ends in a booking.
@vcare/site-crm-panel
Finance Panel
Accounts: cash and receivables, and revenue for the last 14 days as bars.
@vcare/site-finance-panel
Forms Panel
Forms engine: a pain assessment form with a slider, a checkbox and a calculated score.
@vcare/site-forms-panel
Hr Panel
HR and payroll: a payslip with earnings, deductions and net pay.
@vcare/site-hr-panel
Imaging Panel
Imaging: a CT study being reported, with the viewer and status.
@vcare/site-imaging-panel
Insurance Panel
Insurance: a claim's progress and the insurer and patient shares.
@vcare/site-insurance-panel
Inventory Panel
Inventory: stock levels by batch with expiry and low stock warnings.
@vcare/site-inventory-panel
Lab Panel
Laboratory: a CBC result with reference ranges and flagged values.
@vcare/site-lab-panel
Pharmacy Panel
Pharmacy: prescriptions to verify, dispense and dispensed, with interaction flags per patient.
@vcare/site-pharmacy-panel
Product minis 17
Tiny previews of single app parts, as in the Gallery section.
Bed Mini
A bed card with the patient and their day of stay.
@vcare/site-bed-mini
Date Mini
A date chip with a calendar icon.
@vcare/site-date-mini
Invoice Mini
Invoice lines and what the patient pays.
@vcare/site-invoice-mini
Mini Card
The small white card every product mini sits in. Use it to draw your own.
@vcare/site-mini-card
Payment Mini
A payment received with its method and receipt number.
@vcare/site-payment-mini
Payslip Mini
Net pay from a payslip.
@vcare/site-payslip-mini
Prescription Mini
A prescription line with dose, timing and an interaction warning.
@vcare/site-prescription-mini
Queue Card Mini
A queue card: name, visit type and wait time.
@vcare/site-queue-card-mini
Reminder Mini
A reminder with its time and how it was sent.
@vcare/site-reminder-mini
Result Flag Mini
A lab value with a Low or High flag.
@vcare/site-result-flag-mini
Roster Mini
Staff shifts with their colour tags.
@vcare/site-roster-mini
Search Mini
A patient search box with one match.
@vcare/site-search-mini
Slot Picker Mini
Appointment slots with one picked and one taken.
@vcare/site-slot-picker-mini
Stepper Mini
A compact stepper: done, current and to-do steps.
@vcare/site-stepper-mini
Stock Mini
An item's stock level bar with a status.
@vcare/site-stock-mini
Upload Mini
A dashed drop zone for files.
@vcare/site-upload-mini
Vitals Mini
Two vitals tiles, such as BP and BMI.
@vcare/site-vitals-mini
No components match
Try a shorter word, such as chart or date.