Navbar 19 - Tabs with sliding underline indicatorPro

A two-row app header with brand and actions on top and a horizontally scrollable tab strip below, where a hairline underline glides between tabs via a shared layoutId and a soft hover pill follows the cursor. Use it for project dashboards and settings areas that switch between sibling views.

About Navbar 19

A two-row app header with brand and actions on top and a horizontally scrollable tab strip below, where a hairline underline glides between tabs via a shared layoutId and a soft hover pill follows the cursor. Use it for project dashboards and settings areas that switch between sibling views.

Navbar 19 is a pro navbar block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 110 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • tabs
  • underline
  • layoutId
  • active indicator
  • scrollable
  • dashboard

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/navbar-19

Dependencies installed automatically: motion.

Uses: button, motion-presets, use-reduced-motion, utils.

Usage

import Navbar19 from "@/components/blocks/navbar-19"

export default function Page() {
  return <Navbar19 />
}

FAQ