nyuchimzizi
Mzizi — an open-architecture project of the Bundu Foundation, operated and developed by Nyuchi. Built on the Five African Minerals palette.
Built by Nyuchi Africav4.0.39
Grip indicator for drag-and-drop reordering.
View the full component source code below.
import * as React from "react"
import { GripVertical } from "@/lib/icons"
import { cn } from "@/lib/utils"
function DragHandle({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="drag-handle" data-portal="https://design.nyuchi.com/components/drag-handle"
aria-hidden="true"
className={cn(
"flex cursor-grab items-center justify-center text-muted-foreground transition-colors hover:text-foreground active:cursor-grabbing",
className
)}
{...props}
>
<GripVertical className="size-4" />
</div>
)
}
export { DragHandle }
npx shadcn@latest add https://mzizi.dev/api/v1/ui/drag-handleFetch this component's metadata and source code from the registry API.
/api/v1/ui/drag-handlecomponents/ui/drag-handle.tsx