Avatar Button
Configuring the user avatar dropdown menu
Defines the menu items in the user avatar dropdown in the header, each item is MenuItem.
Configuring the user avatar dropdown menu
Defines the menu items in the user avatar dropdown in the header, each item is MenuItem.
export function getAvatarLinks(): MenuItem[] {
const t = useTranslations('Marketing.avatar');
return [
{
title: t('dashboard'),
href: Routes.Dashboard,
icon: <LayoutDashboardIcon className="size-4 shrink-0" />,
},
{
title: t('billing'),
href: Routes.SettingsBilling,
icon: <CreditCardIcon className
The avatar configuration defines the dropdown menu that appears when users click on their profile avatar in the header. This typically includes links to:
enableCredits in website.tsx)This menu provides quick access to specific functionality for users without cluttering the main navigation.
![]()
Now that you understand the avatar configuration, explore these related topics:
Configure the navigation menu for dashboard