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-01

slide-to-unlock-block-01

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

ncdai publishes no description for this item.

Install it

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

Source

src/registry/examples/slide-to-unlock-demo-01.tsxwww.chirags.dev/r/slide-to-unlock-block-01.json
1"use client";
2
3import { toast } from "sonner";
4
5import { useSound } from "@/hooks/use-sound";
6import { ShimmeringText } from "@/registry/shimmering-text";
7import {
8 SlideToUnlock,
9 SlideToUnlockHandle,
10 SlideToUnlockText,
11 SlideToUnlockTrack,
12} from "@/registry/slide-to-unlock";
13
14export default function SlideToUnlockDemo1() {
15 const playSound = useSound("/audio/ui-sounds/unlock.wav");
16
17 return (
18 <SlideToUnlock
19 onUnlock={() => {
20 playSound();
21 toast.success("Unlocked");
22 }}
23 >
24 <SlideToUnlockTrack>
25 <SlideToUnlockText>
26 {({ isDragging }) => (
27 <ShimmeringText text="slide to unlock" isStopped={isDragging} />
28 )}
29 </SlideToUnlockText>
30 <SlideToUnlockHandle />
31 </SlideToUnlockTrack>
32 </SlideToUnlock>
33 );
34}

What it pulls in

Other registry items

  • @ncdai/slide-to-unlock
  • @ncdai/use-sound

Files it writes

  • src/registry/examples/slide-to-unlock-demo-01.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-02slide-to-unlock-block-02ncdaiBlocksFreeno 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