Vvcare/ui
Documentation menu

Components

Getting Started

Introduction

Beautiful components you copy into your project, then own.

vcare/ui is not a component library in the usual sense. You do not npm install it and import from a package. Instead, a CLI copies the source of each component into your repository, where it becomes your code.

That has a few consequences worth knowing up front:

  • No version lock-in. You can edit any file. Upgrades are a choice you make by re-running add and reading the diff.
  • No styling API to learn. Components are Tailwind classes, so className on the component is the API.
  • Small surface. You only carry the components you installed, and their dependencies come with them.

What is inside

The registry currently serves 181 UI components, a login form block, a shared utils helper and the VCare theme. Each one is a JSON file under /r/.

Activity HeatmapA year of daily activity as a calendar heatmap, like a contributions graph.Activity RingsConcentric progress rings toward daily goals.Activity Rings CardActivity rings with the stats beside them.Agent ThinkingShows an AI agent's steps while it works: a shimmering title, a timer and collapsible steps.AlertA callout for a short, important message.Alert DialogA modal that asks the user to confirm an action before it runs.Alerts CardA list of alerts with severity and time.AutocompleteA text input that suggests matches as you type.AvatarA person's picture or initials, with a status badge and groups.BadgeA small label for status or counts.Bar ChartVertical or horizontal bars, stacked or grouped, with reference lines.Bar ListA ranked list where each row is a bar sized by its value.BreadcrumbShows where the page sits in the hierarchy.ButtonThe main action control, in six variants and four sizes, with a press-scale effect.Button GroupButtons joined into one control, with separators and text.CalendarA month calendar for picking a day or a range.CardA surface that groups related content, with header, action and footer slots.CascaderPick from nested options column by column, with search, async loading and multiple selection.ChartThe Recharts wrapper the charts use: themed colors, tooltip and legend.CheckboxA box that toggles between checked and unchecked.Combo Chart CardBars and a line on two axes, with headline tiles.CommandA searchable list of commands with keyboard navigation.Command PaletteA Cmd+K palette with groups, rich items and shortcuts.Composed ChartBars, lines and areas on one chart, with two axes and reference lines.Confirm ButtonA button that asks for confirmation before a destructive action.Context MenuA menu that opens on right-click.Data GridA spreadsheet-like grid: cell selection, editing, virtual scrolling, drag to reorder rows and columns, and pagination.Data TableA full table on TanStack Table: sorting, selection, pinned columns, column visibility, pagination and skeletons.Date PickerDate, date and time, month and date range pickers that follow the locale settings.Date SelectorPick a day, month, quarter, half year or year, or a range, with is, before and after.Delta BadgeA colored arrow and percentage for a change, up or down.DialogA window on top of the page.Distribution BarOne bar split into colored segments, with a legend.Donut ChartA donut with the total in the middle and a legend.Dot PlotA grid of dots per column, for counts that read at a glance.Dropdown MenuA menu of actions that opens from a button.EmbeddedMarks a section as shown inside another page, so page headers keep only their tabs.EmptyAn empty state with an illustration, title, description and actions.Empty StateNothing to show: a picture, what that means and what to do next.Entity DrawerA detail drawer: header, scrollable sections and an action footer.Error BoundaryCatches errors in one screen so it never blanks the whole app.Event CalendarA full calendar: month, week, day, agenda and resource views, with drag and drop and recurring events.FieldLabel, description and error for a form control.Field RowLabel and control laid out for dialogs and forms.File DropzoneDrag files in or browse, with previews and upload progress.FiltersFilter chips and an advanced filter builder with operators, dates and saved queries.Form DialogA form in a side sheet, with cancel and save.FrameA framed panel with header, title, description and footer.Funnel ChartSteps that narrow down, with conversion between steps.GanttA Gantt chart with dependencies, drag to move and resize, and recurring tasks.Glow CloudAn animated cloud mascot, used for the AI assistant.Heatmap ChartA grid of rows and columns colored by value.Heatmap Chart CardA heatmap whose headline follows the cell under the pointer.Icon StackOverlapping icons in a row.InputA text field, with number handling built in.Insight CardA card with a headline number, a label and rows of detail.KanbanColumns of cards you can drag between.KPI CardA headline number with its label, change and sparkline.KvA compact label and value tile.LabelA caption for a form control.List EditorAn editable list of rows (allergies, conditions, medications…) with add and remove.List PageA complete list screen: header, toolbar, search, table and footer count.Live TimeMinutes counting up or down from a time, sharing one clock.Medication ScheduleA day of doses on a timeline, with interaction warnings and conflicts.Metric ListA list of metrics, each with a value, change and sparkline.Metric ValueA number that abbreviates large values and animates when it changes.Mini TableA light table for tabs and drawers, without sorting or paging.MoneyAn amount in minor units, formatted in the currency setting.Most Active Days CardWhich days of the week are most active, as rings.Note FieldA notes box with a switch to show it formatted.Note TextShows clinical notes formatted: headings, bullets and bold.Page CardThe card a page's filters and table sit in.Page HeaderThe page title row with a status chip, actions, tools and tabs.Page TabsUnderline tabs for a page, and segmented tabs for sections.Page ToolbarThe filter row above a table, with pill filters.Period TabsToday, 7 days, 30 days… tabs with a sliding pill.Person CellA person's avatar, name and a detail line, for tables.Picture FieldChoose one picture from a set.PopoverFloating content anchored to a trigger.Print CardCards for print and other main actions, with one big button.Radar ChartCompares series across several axes.Radial GaugeA half or full gauge showing a value toward a target.Rainbow ButtonA button with an animated rainbow edge, for the one action that should stand out.Range SwitcherPrevious and next arrows around a week or month.Badge PlusA badge with more variants, appearances and sizes.Timeline PlusA timeline with dates, indicators and separators.Row ActionsThe ⋯ menu at the end of a table row.Sankey ChartFlows between stages, with widths sized by volume.Scatter ChartPoints on two axes, in one or more series.Scroll AreaA scroll container with thin, themed scrollbars.Search InputA search box with an icon and clear button.Search SelectA searchable picker for long lists, grouped, with keyboard support.Segmented MeterA meter split into zones (low, normal, high) with a marker.SelectPick one option from a list.Selectable CardA whole row that toggles a checkbox or switch, with a sentence of context.Selected BoxShows the selected items with a total and actions.SeparatorA thin line between content.SheetA drawer from the edge of the screen, inset with rounded corners.SidebarThe app sidebar: collapsible, with groups, menus, badges and a mobile drawer.Signature PadDraw a signature, exported as a PNG.Android frameA modern Android phone drawn in CSS, in three finishes, around screenshots or any live content. No image needed.Bar Card"Visits this week": a headline number with a change badge and seven bars that grow into view.Bed Board PanelInpatient: a ward bed board with occupied, cleaning, reserved and free beds.Bed MiniA bed card with the patient and their day of stay.Billing ScreenThe billing step: an invoice with an insurance split and what the patient pays.Calendar CardA month calendar with the day's appointment count and coloured booked days.Checkout ScreenThe checkout step: payment taken and posted to the books.Chip listA centred row of white pill chips, such as the roles under a heading.Crm PanelPatient CRM: a WhatsApp conversation that ends in a booking.Date MiniA date chip with a calendar icon.Donut CardA health age score ring with the score in the middle and a legend.Feedback panel"Doctors told us…": a user's quote in the product's panel style, with a Solved badge or any status.Finance PanelAccounts: cash and receivables, and revenue for the last 14 days as bars.Follow Up ScreenThe follow up step: a WhatsApp reminder and a confirmed follow up booking.Forms PanelForms engine: a pain assessment form with a slider, a checkbox and a calculated score.Forms ScreenThe vitals step: blood pressure, pulse, temperature and BMI tiles with notes.HeatmapBed occupancy by hour as a heatmap, with occupancy, free, cleaning and waiting counts.Hr PanelHR and payroll: a payslip with earnings, deductions and net pay.Imaging PanelImaging: a CT study being reported, with the viewer and status.Insurance PanelInsurance: a claim's progress and the insurer and patient shares.Inventory PanelInventory: stock levels by batch with expiry and low stock warnings.Invoice MiniInvoice lines and what the patient pays.iPhone frameAn iPhone 16 Pro frame around screenshots (cross fading between several) or any live content. Ships with the frame artwork.Website kitThe 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.Lab PanelLaboratory: a CBC result with reference ranges and flagged values.Mini CardThe small white card every product mini sits in. Use it to draw your own.Orders ScreenThe orders step: lab, imaging, pharmacy and referral orders for the visit, each with its status.Patient ScreenThe patient profile step: a duplicate warning, profile tabs and recent visits.Patients TableA patients table with department and status filters, search, status tags, last visit and amount due.Payment MiniA payment received with its method and receipt number.Payslip MiniNet pay from a payslip.Pharmacy PanelPharmacy: prescriptions to verify, dispense and dispensed, with interaction flags per patient.Prescription MiniA prescription line with dose, timing and an interaction warning.Preview tileA grey tile with a small product preview that lifts on hover, plus a title and a sentence.Profile CardA patient's profile card: avatar, name, department and MRN, age, blood group and doctor.Queue Card MiniA queue card: name, visit type and wait time.Queue MiniA live queue board in three columns: checked in, vitals check and with doctor.Queue ScreenThe queue step: today's counts and a board of patients from check in to consultation.Quick ActionsA grid of quick action tiles: new patient, appointment, lab order, invoice and more.Reminder MiniA reminder with its time and how it was sent.Result Flag MiniA lab value with a Low or High flag.Roster MiniStaff shifts with their colour tags.Search MiniA patient search box with one match.Section headingThe 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.Side NavThe app's side navigation: clinic switcher, search, sections with counts and the signed-in user.Slot Picker MiniAppointment slots with one picked and one taken.Stepper MiniA compact stepper: done, current and to-do steps.Stock MiniAn item's stock level bar with a status.Tint cardA 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.Upload MiniA dashed drop zone for files.Website visualShows one of the product visuals (panels and widgets) by name, for content-driven pages.Vitals MiniTwo vitals tiles, such as BP and BMI.SkeletonA placeholder while content loads.Sleep Score CardA score with its parts as bars.SliderPick a value, or a range, by dragging.SonnerToast notifications in the theme.SortableDrag items to reorder a list or grid.SparklineA tiny line or area chart without axes.SpinnerA loading spinner.Stage Bars CardTime spent in each stage, as bars.Stat CardsA responsive row of KPI cards.Status BadgeA status label colored by its tone.StepperSteps of a process, with the current step and navigation.Steps CardSteps per day for a week, with the goal.Sub Nav LayoutA page with its own section list on the left, like Settings.Suggest InputA text input that suggests earlier values.SwitchA toggle between on and off.Tab IconsIcons for common page tabs.TablePlain table parts for small, static tables.Table FooterThe summary strip under a table.TabsTabs as a segmented control: a raised card on a muted track.TagColored chips from the theme palette, soft or bold.TextareaA multi-line text field that grows with its content.Theme Accent PickerPick the theme accent color.Tick BarProgress drawn as a row of ticks.Time PickerA time control in 12 or 24 hour format.TimelineEvents in order, with markers, connectors and status.TooltipA short hint on hover or focus.Trend ChartLines or areas over time, with comparisons and a hover readout.Use Count UpA hook that counts a number up to its value when it appears.View All LinkA small "View all →" link.

The stack

  • React function components with React.ComponentProps typing, so every native attribute is accepted.
  • Tailwind CSS v4 with semantic tokens defined as CSS variables.
  • class-variance-authority for variants and tailwind-merge so your className wins conflicts.
  • Radix Slot only where asChild is offered (Button and Badge).

Built on the shadcn CLI

vcare/ui follows the open registry format used by shadcn/ui, so the standard shadcn CLI installs from it. See how it works.

Next steps

  1. Follow the installation guide to point your project at this registry.
  2. Pick up the theme tokens, or bring your own.
  3. Read Build your own if you want to publish a registry like this one.