import React from "react"; import { motion } from "framer-motion"; /** * PageHeader * * Consistent page-level heading block used at the top of every page. * * Props: * title — primary heading (required) * subtitle — muted supporting text * actions — ReactNode rendered right-aligned (buttons, badges, etc.) * icon — Lucide icon component rendered before the title * * Usage: * Generate} * /> */ export function PageHeader({ title, subtitle, actions, icon: Icon }) { return (
{Icon && ( )}

{title}

{subtitle && (

{subtitle}

)}
{actions && (
{actions}
)}
); }