Site header
Site header: A sticky website header that turns solid on scroll, with a gliding active link, mega menu panels, and a mobile sheet. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Site header
npx motion-ui-skill add site-headerComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactmotionnextreacttailwind-merge
Source files
Site header
A sticky website header that turns solid on scroll, with a gliding active link, mega menu panels, and a mobile sheet.
Install
npx motion-ui-skill add site-header
Dependencies
clsxlucide-reactmotionnextreacttailwind-merge
Usage
"use client";
import { SiteHeader as SiteHeader } from "@/components/blocks/site-header";
export function Example() {
return (
<div className="p-6">
<SiteHeader />
</div>
);
}