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
Product minis
Mini Card
The small white card every product mini sits in. Use it to draw your own.
import { MiniCard } from "@/registry/vcare/site/minis/mini-card"
export default function SiteMiniCardDemo() {
return (
<div className="vc-site grid place-items-center overflow-x-auto rounded-2xl bg-[#f5f6f8] p-6">
<div className="w-[240px]">
<MiniCard><p className="font-semibold text-ink">Your own preview</p><p className="text-[#6b7280]">Anything small goes in here.</p></MiniCard>
</div>
</div>
)
}Installation
npx shadcn@latest add @vcare/site-mini-cardOr install directly from the URL: https://ui.vcarehms.com/r/site-mini-card.json
- Add the registry items it uses: site-theme.
- Copy this file into your project and change the
@/registry/vcare/…imports to your own paths.
components/site/minis/mini-card.tsx
import type { ReactNode } from 'react';
/**
* Tiny product previews for marketing pages: each is one recognisable piece of the app (a search box, a slot picker, an invoice
* total…) drawn in code, so it stays sharp and themeable. They sit in a MiniCard; put them in a PreviewTile for the Gallery look.
*/
export function MiniCard({ children, className = '' }: { children: ReactNode; className?: string }) {
return <div className={`w-full rounded-xl bg-white p-3 text-left text-[11px] shadow-[0_1px_2px_rgb(15_27_45/0.05)] ring-1 ring-black/[0.06] ${className}`}>{children}</div>;
}Usage
import { MiniCard } from "@/components/site/minis/mini-card"Exports
MiniCard
Dependencies
@vcare/site-theme(registry)
Raw item: /r/site-mini-card.json