BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/keys/focus-restore

Focus Restore

keys/focus-restore
UnverifiedHook

Capture and restore focus around overlays and temporary UI with nested stack safety

Install it

npx shadcn@latest add https://raw.githubusercontent.com/b4r7x/diffgazer/main/libs/keys/public/r/focus-restore.json
This registry does not serve an item endpoint we could read, so we hold its metadata but not its source.

Files it writes

  • src/hooks/use-focus-restore.ts
  • src/dom/focus-restore.ts
  • src/dom/element-guards.ts

Facts

Registry
keys
Type
registry:hook
Access
Unverified
Files written
3
Licence
MIT
First indexed
2026-08-02
Last confirmed
yesterday

Go to the source

github.com b4r7x/diffgazer on GitHub Raw registry item This item as JSON

More from keys

All 4 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Focus Trapfocus-trapkeysHooksUnverifiedno deps · 6 files
NavigationnavigationkeysHooksUnverifiedno deps · 7 files
Scroll Lockscroll-lockkeysHooksUnverifiedno 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