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

    6
  • Language Switcher Pill

    Language Switcher Pill

    4
  • Translation Widget

    Translation Widget

    2

More in Navigation

View all
  • Sidebar

    Sidebar

    286
  • Navbar

    Navbar

    1
  • Tabs

    Tabs

    34
  • Oversized 404 Numeral

    Oversized 404 Numeral

    57
  • Breadrcrumb

    Breadrcrumb

    8
  • Pagination

    Pagination

    91
  • Sidebar

    Sidebar

    348
  • Pagination

    Pagination

    15