sabo/src/components/dashboard/header-user-menu.tsx
When to use
- Access account/profile links and sign-out from the top-right of the dashboard.
Usage
Styling tip
- Provide keyboard focus; ensure menu items are clear and group destructive actions.
Steps
Customize menu items
Edit
header-user-menu.tsx to modify the dropdown items. The component uses useAuth() to access the current user.Sign-out flow
The component implements client-side sign-out using
createClient() from @/lib/supabase/client:Sign-out is client-side for immediate feedback. The Supabase client handles session cleanup automatically.