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-header

Components 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-tabs
  • clsx
  • lucide-react
  • motion
  • react
  • react-dom
  • tailwind-merge

Source files

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-tabs
  • clsx
  • lucide-react
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import { PageHeader as PageHeader } from "@/components/blocks/page-header";

export function Example() {
  return (
    <div className="p-6">
      <PageHeader />
    </div>
  );
}

Browse this category