From dcdbfcd086b63f7c200c1496825a8aeccc382fb4 Mon Sep 17 00:00:00 2001 From: rajun Date: Tue, 27 Oct 2026 16:28:58 +0530 Subject: [PATCH] feat: add page header --- app/components/ui/page-header.tsx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/components/ui/page-header.tsx diff --git a/app/components/ui/page-header.tsx b/app/components/ui/page-header.tsx new file mode 100644 index 0000000..bf58888 --- /dev/null +++ b/app/components/ui/page-header.tsx @@ -0,0 +1,20 @@ +import type { ReactNode } from 'react'; +import { Text } from '~/components/ui/text'; + +interface PageHeaderProps { + title: string; + description?: string; + actions?: ReactNode; +} + +export function PageHeader({ title, description, actions }: PageHeaderProps) { + return ( +
+
+ {title} + {description && {description}} +
+ {actions &&
{actions}
} +
+ ); +}