Soft depth
Raised gray surfaces and an inset navigation track recreate the reference’s light and shadow, with a precisely measured sliding highlight.
Component 030Navigation
A soft gray navigation bar combines raised surfaces, an inset link track, a sliding active highlight, and a rounded mobile menu.
Quick start
Save neumorphic-navbar.tsx in your components folder, then import it below. Requires React and Tailwind CSS.
import NeumorphicNavbar from "@/components/ui/neumorphic-navbar";
export default function Page() {
return <NeumorphicNavbar />;
}Behind the interaction
Raised gray surfaces and an inset navigation track recreate the reference’s light and shadow, with a precisely measured sliding highlight.
A circular disclosure opens the mobile navigation. Selection, outside clicks, and Escape dismiss it with appropriate focus behavior.
Use real links, typed callbacks, and controlled selection to connect the standalone navbar to your application.
Keep exploring
A luminous rotating Earth opens China’s destinations, then zooms into a scenic travel hero with a live booking form.
The periodic table moves into a sphere, a helix, or a three-dimensional grid, with colorful element cards and details.