
Usage
- Astro
- Next.js
Props
any
A replacement for the avatar in the header.
Content
To update the title in the header, editsite.name in src/config/site.ts.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.

---
import { DashboardHeader } from '~/components';
---
<DashboardHeader user={Astro.locals.user} />
import { DashboardHeader } from '~/components';
import { getCurrentUser } from '~/core/auth/server';
export default async function Page() {
const user = await getCurrentUser();
return <DashboardHeader user={user} />;
}
site.name in src/config/site.ts.
import { env } from '~/core/env';
export const site = {
name: 'ShipKit',
...
};
import type { User } from '~/core/auth';