BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/poyraz/navbar-auto-hide

Navbar Auto Hide

poyraz/navbar-auto-hide
FreeHook

Poyraz Soft Glass Navbar Auto Hide with container-responsive layout and semantic tokens.

Install it

npx shadcn@latest add https://ui.poyrazavsever.com/r/navbar-auto-hide.json

Source

registry/poyraz/hooks/phase8/use-navbar-auto-hide.tsui.poyrazavsever.com/r/navbar-auto-hide.json
1"use client";
2
3import * as React from "react";
4
5export interface UseNavbarAutoHideOptions {
6 enabled?: boolean;
7 threshold?: number;
8}
9
10function useNavbarAutoHide({ enabled = true, threshold = 80 }: UseNavbarAutoHideOptions = {}) {
11 const [hidden, setHidden] = React.useState(false);
12 const lastScrollY = React.useRef(0);
13
14 React.useEffect(() => {
15 if (!enabled) {
16 setHidden(false);
17 return;
18 }
19
20 function handleScroll() {
21 const currentY = window.scrollY;
22 setHidden(currentY > lastScrollY.current && currentY > threshold);
23 lastScrollY.current = currentY;
24 }
25
26 window.addEventListener("scroll", handleScroll, { passive: true });
27 return () => window.removeEventListener("scroll", handleScroll);
28 }, [enabled, threshold]);
29
30 return hidden;
31}
32
33export { useNavbarAutoHide };

What it pulls in

Other registry items

  • @poyraz/poyraz-utils
  • @poyraz/poyraz-theme

Files it writes

  • registry/poyraz/hooks/phase8/use-navbar-auto-hide.ts

Facts

Registry
poyraz
Type
registry:hook
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

ui.poyrazavsever.com poyrazavsever/poyraz-ui on GitHub Raw registry item This item as JSON

More from poyraz

All 71 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Persistent Announcementpersistent-announcementpoyrazHooksFreeno deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex