{
	"$schema": "https://shadcn-svelte.com/schema/registry-item.json",
	"name": "cursor",
	"title": "Cursor",
	"type": "registry:ui",
	"description": "A customizable cursor component.",
	"files": [
		{
			"content": "<script lang=\"ts\">\n\timport { cn } from '$UTILS$';\n\timport type { Snippet } from 'svelte';\n\n\tlet {\n\t\tx,\n\t\ty,\n\t\tcolor = '#000',\n\t\tname,\n\t\tmessage,\n\t\tclass: className,\n\t\tchildren\n\t}: {\n\t\tx: number;\n\t\ty: number;\n\t\tcolor?: string;\n\t\tname?: string;\n\t\tmessage?: string;\n\t\tclass?: string;\n\t\tchildren?: Snippet;\n\t} = $props();\n</script>\n\n<div\n\tclass={cn(\n\t\t'pointer-events-none absolute left-0 top-0 z-50 transition-transform duration-100 ease-linear will-change-transform',\n\t\tclassName\n\t)}\n\tstyle:transform={`translate3d(${x}px, ${y}px, 0)`}\n>\n\t<svg\n\t\twidth=\"24\"\n\t\theight=\"24\"\n\t\tviewBox=\"0 0 24 24\"\n\t\tfill=\"none\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\tclass=\"relative -top-[1px] -left-[1px] drop-shadow-sm\"\n\t>\n\t\t<path\n\t\t\td=\"M3 3L9.5 20.5L12.5 13.5L19.5 10.5L3 3Z\"\n\t\t\tfill={color}\n\t\t\tstroke={color}\n\t\t\tstroke-width=\"1\"\n\t\t\tstroke-linejoin=\"round\"\n\t\t/>\n\t</svg>\n\n\t{#if name || message || children}\n\t\t<div\n\t\t\tclass=\"absolute left-3.5 top-5 min-w-[max-content] rounded-xl rounded-tl-none px-3 py-1.5 shadow-sm animate-in fade-in zoom-in-95 duration-200\"\n\t\t\tstyle:background-color={color}\n\t\t>\n\t\t\t<div class=\"flex flex-col text-xs leading-relaxed text-white\">\n\t\t\t\t{#if name}\n\t\t\t\t\t<span class=\"font-bold\">{name}</span>\n\t\t\t\t{/if}\n\t\t\t\t{#if message}\n\t\t\t\t\t<span class=\"font-medium opacity-90\">{message}</span>\n\t\t\t\t{/if}\n\t\t\t\t{#if children}\n\t\t\t\t\t{@render children()}\n\t\t\t\t{/if}\n\t\t\t</div>\n\t\t</div>\n\t{/if}\n</div>\n",
			"type": "registry:ui",
			"target": "cursor/cursor.svelte"
		},
		{
			"content": "import Cursor from \"./cursor.svelte\";\r\n\r\nexport { Cursor as Root };",
			"type": "registry:ui",
			"target": "cursor/index.ts"
		}
	]
}