@pagedotapp/page-navigation-header-section
v0.0.0-alpha.11
Published
Navigation header component with multiple layout variants
Downloads
24
Readme
@pagedotapp/page-navigation-header-section
A responsive navigation header section component with sticky behavior and mobile menu support.
Installation
npm install @pagedotapp/page-navigation-header-sectionUsage
import { PageNavigationHeaderSection } from "@pagedotapp/page-navigation-header-section"
function App() {
return (
<PageNavigationHeaderSection
logo={{ src: "/logo.png", alt: "Company Logo" }}
navItems={[
{ label: "Home", href: "/" },
{ label: "Products", href: "/products" },
{ label: "About", href: "/about" },
{ label: "Contact", href: "/contact" },
]}
ctaButton={{
label: "Get Started",
onClick: () => console.log("CTA clicked"),
}}
sticky={true}
/>
)
}Props
See TypeScript definitions for detailed prop types.
License
MIT
