This component no longer exists. It was in ncdai’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-14 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
slide-to-unlock-block-02
ncdai/slide-to-unlock-block-02RemovedBlock
ncdai publishes no description for this item.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/Prashant-thakur77/myportfolio/main/public/r/slide-to-unlock-block-02.jsonSource
1"use client";23import { toast } from "sonner";45import { ShimmeringText } from "@/registry/shimmering-text";6import {7 SlideToUnlock,8 SlideToUnlockHandle,9 SlideToUnlockText,10 SlideToUnlockTrack,11} from "@/registry/slide-to-unlock";1213export default function SlideToUnlockDemo2() {14 return (15 <>16 <SlideToUnlock17 className="bg-linear-to-b from-zinc-800 to-zinc-900"18 onUnlock={() => {19 const myPromise = new Promise((resolve) => {20 setTimeout(() => {21 resolve(true);22 }, 1000);23 });2425 toast.promise(myPromise, {26 loading: "Connecting...",27 success: () => `Connected`,28 error: ({ message }) => `Error: ${message}`,29 });30 }}31 >32 <SlideToUnlockTrack>33 <SlideToUnlockText>34 {({ isDragging }) => (35 <ShimmeringText36 className="[--color:var(--color-zinc-600)] [--shimmering-color:var(--color-zinc-50)]"37 text="slide to answer"38 isStopped={isDragging}39 />40 )}41 </SlideToUnlockText>4243 <SlideToUnlockHandle className="bg-linear-to-b from-emerald-500 to-emerald-700 text-white" />44 </SlideToUnlockTrack>45 </SlideToUnlock>46 </>47 );48}
What it pulls in
Other registry items
Files it writes
More from ncdai
All 17 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Blog 01blog-01 | ncdai | Blocks | Unverified | 1 dep · 2 files | |
| Blog 02blog-02 | ncdai | Blocks | Unverified | 1 dep · 2 files | |
| Experience 01experience-01 | ncdai | Blocks | Unverified | no deps | |
| Hero 01hero-01 | ncdai | Blocks | Unverified | no deps · 2 files | |
| Login 01login-01 | ncdai | Blocks | Unverified | no deps · 2 files | |
| Metrics 01metrics-01 | ncdai | Blocks | Unverified | 1 dep · 2 files | |
| Not Found 01not-found-01 | ncdai | Blocks | Free | 3 deps · 11 files | |
| Social Links 01social-links-01 | ncdai | Blocks | Unverified | no deps |
