Vvcare/ui
Documentation menu

Components

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.

Advanced 14

Data grid, calendar, Gantt, kanban, filters and cascader.

Website kit 7

The building blocks of the VCare marketing site: frames, headings, cards and phones. Wrap them in .vc-site.

Device frames 2

iPhone and Android frames for screenshots and live screens.

Website widgets 9

Dashboard widgets drawn in code, the way the website shows the app.

Website screens 7

One app screen per step of a patient's visit, for walkthroughs.

Website panels 10

One panel per department, as on the Departments section.

Product minis 17

Tiny previews of single app parts, as in the Gallery section.