Mohit Sapat

NavBar

Navigation

About

Responsive navigation bar with a built-in language menu, floating variant, animated link highlight, mobile menu and GitHub link. shadcn theme tokens, RTL-aware.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds NavBar to your project and fits it to your theme.

Code

How NavBar is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { NavBar } from "@/components/ui/navbar";

export default function App() {
  return (
    <NavBar
      logo={<span className="font-bold">MyApp</span>}
      links={[{ label: "Home", href: "/" }]}
      sticky={false}
    />
  );
}

Dependencies

More by Mohit Sapat

View all
  • Phone Input

    Phone Input

    3
  • Language Switcher Pill

    Language Switcher Pill

    2
  • Translation Widget

    Translation Widget

    2

More in Navigation

View all
  • Sidebar

    Sidebar

    234
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    43
  • Sidebar

    Sidebar

    339
  • Tabs

    Tabs

    60
  • Numberless Pagination with Text

    Numberless Pagination with Text

    11
  • Oversized 404 Numeral

    Oversized 404 Numeral

    50
  • Footer

    Footer

    446
  • Pagination

    Pagination

    43