import { TOOLBAR_SLOT } from "@/components/ui/data-toolbar"; import type { JSX, ParentProps } from "solid-js"; import { Show } from "solid-js"; import { cn } from "@/lib/cn"; export function PageHeader( props: ParentProps<{ eyebrow?: string; title: string; description?: string; actions?: JSX.Element; class?: string; /** Compact greeting strip (dashboard). */ compact?: boolean; }>, ) { return (

{props.eyebrow}

{props.title}

{props.description}

{props.children}
{/* Header actions follow the toolbar pill standard, so a page's plain size="sm" buttons sit at the same height as its lists. */}
{props.actions}
); }