Vvcare/ui
Documentation menu

Components

Advanced

Sortable

Drag items to reorder a list or grid.

Installation

npx shadcn@latest add @vcare/sortable

Or install directly from the URL: https://ui.vcarehms.com/r/sortable.json

Usage

import { Sortable, SortableItem, SortableItemHandle, SortableOverlay } from "@/components/ui/sortable"

Exports

Sortable, SortableItem, SortableItemHandle, SortableOverlay

Dependencies

  • @base-ui/react@^1.9.0 (npm)
  • @dnd-kit/core@^6.3.1 (npm)
  • @dnd-kit/sortable@^10.0.0 (npm)
  • @dnd-kit/utilities@^3.2.2 (npm)
  • @vcare/utils (registry)

Raw item: /r/sortable.json