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
Patterns
View All Link
A small "View all →" link.
import { ViewAllLink } from "@/registry/vcare/ui/view-all-link"
export default function ViewAllLinkDemo() {
return <ViewAllLink to="#">View all appointments</ViewAllLink>
}Installation
npx shadcn@latest add @vcare/view-all-linkOr install directly from the URL: https://ui.vcarehms.com/r/view-all-link.json
- Install the dependencies:
npm i lucide-react - Copy this file into your project and change the
@/registry/vcare/…imports to your own paths.
components/ui/view-all-link.tsx
import type { ReactNode } from 'react';
import { ArrowRight } from 'lucide-react';
export function ViewAllLink({ to, children }: { to: string; children: ReactNode }) {
return (
<a
href={to}
className="inline-flex items-center gap-1 text-xs font-medium text-primary transition-[color] duration-150 ease-power3-out hover:text-primary/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
>
<span>{children}</span>
<ArrowRight className="size-3 rtl:-scale-x-100" strokeWidth={1.5} />
</a>
);
}Usage
import { ViewAllLink } from "@/components/ui/view-all-link"Exports
ViewAllLink
Dependencies
lucide-react@^1.80.0(npm)
Raw item: /r/view-all-link.json