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
Forms Screen
The vitals step: blood pressure, pulse, temperature and BMI tiles with notes.
import { FormsScreen } from "@/registry/vcare/site/screens/forms-screen"
export default function SiteFormsScreenDemo() {
// 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]">
<FormsScreen />
</div>
</div>
)
}Installation
npx shadcn@latest add @vcare/site-forms-screenOr install directly from the URL: https://ui.vcarehms.com/r/site-forms-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/forms-screen.tsx
import { Badge, Item, Panel } from '../ui/kit';
/** The vitals step: blood pressure, pulse, temperature and BMI tiles with notes. */
export function FormsScreen() {
return (
<Panel title="Vitals" action={<Badge tone="green">Saved</Badge>}>
<div className="grid grid-cols-2 gap-2.5 p-4">
{[['Blood pressure', '128 / 82', 'mmHg'], ['Pulse', '76', 'bpm'], ['Temperature', '98.4', '°F'], ['BMI', '24.6', 'auto']].map(([l, v, u], i) => (
<Item key={l} i={i} className="rounded-xl bg-[#f7f7f9] p-3"><p className="text-[11px] text-[#6b7280]">{l}</p><p className="mt-0.5 text-[18px] font-bold text-ink">{v} <span className="text-[11px] font-medium text-[#6b7280]">{u}</span></p></Item>
))}
</div>
<div className="border-t border-[#f1f2f5] p-4"><p className="text-[11px] font-semibold text-[#6b7280]">Notes</p><p className="mt-1.5 rounded-xl bg-[#f7f7f9] p-3 text-[12px] leading-relaxed text-ink">Mild chest tightness on exertion for two weeks. No syncope. ECG ordered. Continue current medicines.</p></div>
</Panel>
);
}Usage
import { FormsScreen } from "@/components/site/screens/forms-screen"Exports
FormsScreen
Dependencies
@vcare/site-kit(registry)@vcare/site-theme(registry)
Raw item: /r/site-forms-screen.json