NV-01Navigation
Split Nav
Navigation bar that splits around the active link, with drag-to-scrub, flick projection and an optional compact fold.
PRODocs Search and more like it are in Kokonut UI Pro
Installation
Split Nav is a free, open-source React component in the Kokonut UI Navigation collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/morphic-navbar.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/morphic-navbarOr add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/morphic-navbar.tsx.
npm install motionUsage
import MorphicNavbar from "@/components/kokonutui/morphic-navbar";
export default function Example() {
return <MorphicNavbar />;
}Props
itemsRecord<string, NavItem>Default built-inLinks keyed by their href, in display order.
defaultPathstringInitially active path. Defaults to the first item's path. When an item's path matches the current route, that item is active instead.
compactbooleanDefault falseAfter 80px of page scroll, fold the bar down to the active link plus a chevron that opens it again.
classNamestringExtra classes for the root element.
NavItem
namerequiredstringDependencies
| Needs | Version | Comes from |
|---|---|---|
motion | ^12.23.25 | npm, installed by the CLI |
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.

