BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ncdai/slide-to-unlock-block-02

slide-to-unlock-block-02

ncdai-chirags/slide-to-unlock-block-02
FreeBlock

ncdai publishes no description for this item.

Install it

npx shadcn@latest add https://www.chirags.dev/r/slide-to-unlock-block-02.json

Source

src/registry/examples/slide-to-unlock-demo-02.tsxwww.chirags.dev/r/slide-to-unlock-block-02.json
1"use client";
2
3import { toast } from "sonner";
4
5import { ShimmeringText } from "@/registry/shimmering-text";
6import {
7 SlideToUnlock,
8 SlideToUnlockHandle,
9 SlideToUnlockText,
10 SlideToUnlockTrack,
11} from "@/registry/slide-to-unlock";
12
13export default function SlideToUnlockDemo2() {
14 return (
15 <>
16 <SlideToUnlock
17 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 });
24
25 toast.promise(myPromise, {
26 loading: "Connecting...",
27 success: () => `Connected`,
28 error: ({ message }) => `Error: ${message}`,
29 });
30 }}
31 >
32 <SlideToUnlockTrack>
33 <SlideToUnlockText>
34 {({ isDragging }) => (
35 <ShimmeringText
36 className="[--color:var(--color-zinc-600)] [--shimmering-color:var(--color-zinc-50)]"
37 text="slide to answer"
38 isStopped={isDragging}
39 />
40 )}
41 </SlideToUnlockText>
42
43 <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

  • @ncdai/slide-to-unlock

Files it writes

  • src/registry/examples/slide-to-unlock-demo-02.tsx

Facts

Registry
ncdai
Type
registry:block
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-02
Last confirmed
today

Go to the source

www.chirags.dev chirraaggggg/chirags.dev on GitHub Raw registry item This item as JSON

More from ncdai

All 28 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
scroll-fade-effect-block-01scroll-fade-effect-block-01ncdaiBlocksFreeno deps
scroll-fade-effect-block-02scroll-fade-effect-block-02ncdaiBlocksFreeno deps
scroll-fade-effect-block-03scroll-fade-effect-block-03ncdaiBlocksFreeno deps
scroll-fade-effect-block-04scroll-fade-effect-block-04ncdaiBlocksFreeno deps
shimmering-text-block-01shimmering-text-block-01ncdaiBlocksFreeno deps
shimmering-text-block-02shimmering-text-block-02ncdaiBlocksFreeno deps
slide-to-unlock-block-01slide-to-unlock-block-01ncdaiBlocksFreeno deps
slide-to-unlock-block-03slide-to-unlock-block-03ncdaiBlocksFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex