Navbar 3Nova
pixelflow-ui/navbar-3-novaFreeComponent
pixelflow-ui publishes no description for this item.
Live preview
live · rendered by the registry
Rendered by pixelflow-ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://pixelflowui.lok1.dev/r/navbar-3-nova.jsonSource
1"use client";23import React, { useState } from "react";4import { Menu, X } from "lucide-react";5import Link from "next/link";67const MenuItem = ({ label, href }) => {8 return (9 <Link className=" relative group " href={href}>10 <span className="group-hover:text-white transition-all duration-300 text-neutral-700 font-semibold z-20 relative px-3 py-1">11 {label}12 </span>13 <div className="w-0 h-full absolute top-0 right-0 bg-black transition-all duration-300 group-hover:w-full group-hover:left-0 z-10 rounded-full"></div>14 </Link>15 );16};1718const MobileMenuItem = ({ label, href, activeView }) => {19 return (20 <Link className="relative group overflow-hidden block w-full" href={href}>21 <div22 className={`transition-all duration-500 z-20 relative px-4 py-3 ${23 activeView === href24 ? "translate-x-4 bg-neutral-100"25 : "group-hover:translate-x-4 group-hover:bg-neutral-50"26 } flex items-center gap-4 rounded-full`}27 >28 <div29 className={`w-3 h-3 rounded-full transition-all duration-300 ${30 activeView === href31 ? "bg-black scale-100"32 : "bg-neutral-400 scale-0 group-hover:scale-100"33 }`}34 />35 <span36 className={`font-bold tracking-tight transition-colors duration-300 ${37 activeView === href38 ? "text-black"39 : "text-neutral-500 group-hover:text-black"40 }`}41 >42 {label}43 </span>44 </div>45 </Link>46 );47};4849export default function Navbar() {50 const [isSidebarOpen, setIsSidebarOpen] = useState(false);51 const [activeView, setActiveView] = useState("/");5253 const menuItems = [54 {55 label: "Navbars",56 href: "/components/navbars",57 },58 {59 label: "Loaders",60 href: "/components/loaders",61 },62 {63 label: "Lists",64 href: "/components/lists",65 },66 ];6768 return (69 <div className="flex justify-center items-center absolute top-0 left-0 w-full z-10">70 <div className="mx-7 my-4 w-full flex items-center justify-between h-full relative">71 <button72 onClick={() => setIsSidebarOpen(!isSidebarOpen)}73 className="nav-left px-3 py-1 border-[0.6px] border-neutral-300 hover:border-black cursor-pointer rounded-full bg-white text-black"74 >75 <div className="flex items-center gap-2">76 <Menu strokeWidth={1} color="black" />77 </div>78 </button>79// … truncated
What it pulls in
npm packages
Files it writes
More from pixelflow-ui
All 35 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordion Lyraaccordion-lyra | pixelflow-ui | Components | Free | 3 deps | |
| Accordion Novaaccordion-nova | pixelflow-ui | Components | Free | 3 deps | |
| Accordion Retroaccordion-retro | pixelflow-ui | Components | Free | 3 deps | |
| Background 1background-1 | pixelflow-ui | Components | Free | no deps | |
| Background 1Retrobackground-1-retro | pixelflow-ui | Components | Free | no deps | |
| Bouncy Input Lyrabouncy-input-lyra | pixelflow-ui | Components | Free | 1 dep | |
| Bouncy Input Novabouncy-input-nova | pixelflow-ui | Components | Free | 1 dep | |
| Bouncy Input Retrobouncy-input-retro | pixelflow-ui | Components | Free | 1 dep |
