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 kit
Chip list
A centred row of white pill chips, such as the roles under a heading.
import { ChipList } from "@/registry/vcare/site/components/chip-list"
export default function SiteChipListDemo() {
return (
<div className="vc-site p-6">
<ChipList items={["Doctors", "Lab technicians", "Physiotherapists", "Nurses", "Pharmacists", "Front desk"]} />
</div>
)
}Installation
npx shadcn@latest add @vcare/site-chip-listOr install directly from the URL: https://ui.vcarehms.com/r/site-chip-list.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/components/chip-list.tsx
/** A centred row of white pill chips, e.g. the roles under a section heading. */
export function ChipList({ items, className = '' }: { items: string[]; className?: string }) {
return (
<ul className={`flex flex-wrap justify-center gap-2 ${className}`}>
{items.map((x) => (
<li key={x} className="chip bg-white text-ink shadow-[0_0_0_1px_rgb(22_24_29/0.08)]">
{x}
</li>
))}
</ul>
);
}Usage
import { ChipList } from "@/components/site/components/chip-list"Exports
ChipList
Dependencies
@vcare/site-theme(registry)
Raw item: /r/site-chip-list.json