NV-10Navigation
Stack Panel
A panel that drills into pages like settings on a phone. The tapped row's label flies up into the title, and a swipe right takes you back.
lucide-react, motion
PRODocs Search and more like it are in Kokonut UI Pro
Installation
Stack Panel 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/stack-panel.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/stack-panelOr add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/stack-panel.tsx.
npm install lucide-react motionUsage
import StackPanelDemo from "@/components/kokonutui/stack-panel";
export default function Example() {
return <StackPanelDemo />;
}Props
classNamestringExtra classes for the root element.
Dependencies
| Needs | Version | Comes from |
|---|---|---|
lucide-react | ^0.556.0 | npm, installed by the CLI |
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.

