Page header
Page header: A project page header that folds into a compact bar as you scroll, with tabs whose counts roll. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Page header
npx motion-ui-skill add page-headerComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
@radix-ui/react-dropdown-menu@radix-ui/react-tabsclsxlucide-reactmotionreactreact-domtailwind-merge
Source files
Page header
A project page header that folds into a compact bar as you scroll, with tabs whose counts roll.
Install
npx motion-ui-skill add page-header
Dependencies
@radix-ui/react-dropdown-menu@radix-ui/react-tabsclsxlucide-reactmotionreacttailwind-merge
Usage
"use client";
import { PageHeader as PageHeader } from "@/components/blocks/page-header";
export function Example() {
return (
<div className="p-6">
<PageHeader />
</div>
);
}