BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/navdeep-singh/header-one

Header One

navdeep-singh/header-one
FreeBlock

Header One — Header block.

Install it

npx shadcn@latest add https://ui.navdeepsingh.dev/r/header-one.json

Source

components/blocks/header/header-one.tsxui.navdeepsingh.dev/r/header-one.json
1'use client'
2import Link from 'next/link'
3import { Button } from '@/components/ui/button'
4import { Hexagon, PanelRight, X } from 'lucide-react'
5
6import { useState } from 'react'
7import { AnimatePresence, motion, useReducedMotion } from 'motion/react'
8import LogoMark from '@/site/ui-library/ui-library-logo'
9
10const navLinks = [
11 { name: 'About', href: '#link' },
12 { name: 'Features', href: '#link' },
13 { name: 'Blog', href: '#link' },
14 { name: 'Contact Us', href: '#link' },
15]
16
17export default function HeaderOne() {
18 return (
19 <header className="relative w-full">
20 <DesktopNavbar />
21 <MobileNavbar />
22 </header>
23 )
24}
25
26function DesktopNavbar() {
27 return (
28 <nav className="sticky top-0 z-20 w-full border-b bg-background/50 backdrop-blur-3xl">
29 <div className="mx-auto hidden max-w-6xl items-center justify-between gap-6 px-4 py-3 md:flex">
30 <div className="flex items-center gap-2">
31 <LogoMark aria-hidden="true" />
32 <span className="font-semibold">Nav UI</span>
33 </div>
34
35 <div className="flex items-center justify-center gap-8">
36 {navLinks.map((item) => (
37 <Link
38 href={item.href}
39 key={item.name}
40 className="text-sm font-medium text-muted-foreground transition-colors duration-200 hover:text-black dark:text-neutral-400"
41 >
42 {item.name}
43 </Link>
44 ))}
45 </div>
46
47 <div className="flex items-center gap-4">
48 <Button className="border ring-1 ring-muted" variant="default" asChild>
49 <Link href="#login">Login</Link>
50 </Button>
51 <Button variant="outline" asChild>
52 <Link href="#sign-up">Sign Up</Link>
53 </Button>
54 </div>
55 </div>
56 </nav>
57 )
58}
59
60function MobileNavbar() {
61 const [open, setOpen] = useState(false)
62 const shouldReduceMotion = useReducedMotion()
63
64 return (
65 <nav className="relative flex justify-between px-4 py-3 md:hidden">
66 <div className="flex items-center gap-2">
67 <Hexagon aria-hidden="true" className="size-8 stroke-neutral-200 stroke-2" />
68 <span className="font-semibold">Nav UI</span>
69 </div>
70
71 <button
72 type="button"
73 aria-label="Open navigation menu"
74 aria-expanded={open}
75 aria-controls="header-one-mobile-menu"
76 onClick={() => {
77 setOpen(!open)
78 }}
79 >
80 <PanelRight aria-hidden="true" className="size-5 open:hidden" />
81// … truncated

What it pulls in

npm packages

  • lucide-react
  • motion

Other registry items

  • button

Files it writes

  • components/blocks/header/header-one.tsx

Facts

Registry
navdeep-singh
Type
registry:block
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-11
Last confirmed
today

Go to the source

ui.navdeepsingh.dev Navdeepannu/Portfolio on GitHub Raw registry item This item as JSON

More from navdeep-singh

All 64 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Blog Section Oneblog-section-onenavdeep-singhBlocksFree1 dep
Contact Section Fourcontact-section-fournavdeep-singhBlocksFreeno deps
Contact Section Onecontact-section-onenavdeep-singhBlocksFree1 dep
Contact Section Threecontact-section-threenavdeep-singhBlocksFreeno deps
Contact Section Twocontact-section-twonavdeep-singhBlocksFreeno deps
Content Section Fourcontent-section-fournavdeep-singhBlocksFree1 dep
Content Section Onecontent-section-onenavdeep-singhBlocksFree1 dep
Content Section Threecontent-section-threenavdeep-singhBlocksFree2 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