BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/bagUi/navbar1

Navbar Exemple 1

bagui/navbar1
FreeBlock

Modern responsive navigation bar with animated interactions, customizable links, and mobile menu support.

Live preview

live · rendered by the registry
Rendered by bagUi on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://www.bagui.pro/r/navbar1.json

Source

registry/default/blocks/navbar/navbar1.tsxwww.bagui.pro/r/navbar1.json · first 6 KB
1"use client";
2
3import { useState, useEffect } from "react";
4import Link from "next/link";
5import { motion, AnimatePresence } from "framer-motion";
6import Image from "next/image";
7
8type Theme = "dark" | "light" | "system";
9
10const NAV_LINKS = [
11 { label: "Services", href: "#services" },
12 { label: "Coverage", href: "#coverage" },
13 { label: "Offers", href: "#offers" },
14 { label: "Price", href: "#price" },
15 { label: "About", href: "#about" },
16 { label: "Contact", href: "#contact" },
17];
18
19const SunIcon = () => (
20 <svg
21 width="14"
22 height="14"
23 viewBox="0 0 24 24"
24 fill="none"
25 stroke="currentColor"
26 strokeWidth="1.8"
27 strokeLinecap="round"
28 strokeLinejoin="round"
29 >
30 <circle cx="12" cy="12" r="4" />
31 <path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41" />
32 </svg>
33);
34
35const MoonIcon = () => (
36 <svg
37 width="14"
38 height="14"
39 viewBox="0 0 24 24"
40 fill="none"
41 stroke="currentColor"
42 strokeWidth="1.8"
43 strokeLinecap="round"
44 strokeLinejoin="round"
45 >
46 <path d="M21 12.79A9 9 0 1111.21 3a7 7 0 109.79 9.79z" />
47 </svg>
48);
49
50const SystemIcon = () => (
51 <svg
52 width="14"
53 height="14"
54 viewBox="0 0 24 24"
55 fill="none"
56 stroke="currentColor"
57 strokeWidth="1.8"
58 strokeLinecap="round"
59 strokeLinejoin="round"
60 >
61 <rect x="2" y="3" width="20" height="14" rx="2" />
62 <path d="M8 21h8M12 17v4" />
63 </svg>
64);
65
66const UserIcon = () => (
67 <svg
68 width="13"
69 height="13"
70 viewBox="0 0 24 24"
71 fill="none"
72 stroke="currentColor"
73 strokeWidth="1.8"
74 strokeLinecap="round"
75 strokeLinejoin="round"
76 >
77 <path d="M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2" />
78 <circle cx="12" cy="7" r="4" />
79 </svg>
80);
81
82const PlusIcon = () => (
83 <svg
84 width="12"
85 height="12"
86 viewBox="0 0 24 24"
87 fill="none"
88 stroke="currentColor"
89 strokeWidth="2.2"
90 strokeLinecap="round"
91 >
92 <path d="M12 5v14M5 12h14" />
93 </svg>
94);
95
96export default function Navbar1() {
97 const [activeLink, setActiveLink] = useState("Services");
98 const [theme, setTheme] = useState<Theme>(() => {
99 if (typeof window === "undefined") return "system";
100// … truncated

What it pulls in

npm packages

  • framer-motion
  • lucide-react

Files it writes

  • registry/default/blocks/navbar/navbar1.tsx

Facts

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

Go to the source

Docs on bagUi www.bagui.pro anelkabag/bag-ui on GitHub Raw registry item This item as JSON

More from bagUi

All 30 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Dashboard Chat Appchat-app1bagUiBlocksFree2 deps
Contact Exemple 1contact-1bagUiBlocksFree2 deps
Contact Exemple 2contact-2bagUiBlocksFree2 deps
CTA Exemple 1cta-1bagUiBlocksFree2 deps
CTA Exemple 2cta-2bagUiBlocksFree2 deps
Modern Ads Dashboarddashboard-adsbagUiBlocksFree2 deps
Modern Agency Dashboarddashboard-agencybagUiBlocksFree2 deps
Modern Folder Dashboarddashboard-folderbagUiBlocksFree2 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