import * as React from "react" import { cn } from "@/lib/utils" import { Separator } from "@/components/ui/separator" export interface PageHeaderProps extends React.ComponentProps<"div"> { title: string description?: string /** Right-aligned action slot, e.g. buttons. */ actions?: React.ReactNode /** Optional eyebrow / breadcrumb line above the title. */ eyebrow?: string } /** * PageHeader — the title block at the top of a page/section. * title + description on the left, actions on the right, then a rule. */ export function PageHeader({ title, description, actions, eyebrow, className, ...props }: PageHeaderProps) { return (
{eyebrow && (

{eyebrow}

)}

{title}

{description && (

{description}

)}
{actions &&
{actions}
}
) }