{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "slide-to-unlock-block-01", "type": "registry:block", "registryDependencies": [ "@ncdai/slide-to-unlock", "@ncdai/use-sound" ], "files": [ { "path": "src/registry/examples/slide-to-unlock-demo-01.tsx", "content": "\"use client\";\n\nimport { toast } from \"sonner\";\n\nimport { useSound } from \"@/hooks/use-sound\";\nimport { ShimmeringText } from \"@/registry/shimmering-text\";\nimport {\n SlideToUnlock,\n SlideToUnlockHandle,\n SlideToUnlockText,\n SlideToUnlockTrack,\n} from \"@/registry/slide-to-unlock\";\n\nexport default function SlideToUnlockDemo1() {\n const playSound = useSound(\"/audio/ui-sounds/unlock.wav\");\n\n return (\n {\n playSound();\n toast.success(\"Unlocked\");\n }}\n >\n \n \n {({ isDragging }) => (\n \n )}\n \n \n \n \n );\n}\n", "type": "registry:component" } ] }