The FloatingNavbar is an essential component for modern landing pages. It provides a non-intrusive navigation experience by automatically hiding when scrolling down and revealing when scrolling up. It features a Framer Motion-powered layout animation that seamlessly tracks the user's hover state across items. Now fully upgraded with 3 hover indicator variants.
Live Preview
Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { FloatingNavbar } from "@/components/creative/floating-navbar";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { FloatingNavbar } from "@/components/creative/floating-navbar";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<FloatingNavbar
items{/* value */}
color="example"
speed{10}
/>
</div>
);
}