semoss-user-menu

Integrate a user profile dropdown and navigation bar into React-based SEMOSS applications.

2|Updated Aug 6, 2025
One-click install
npx skills add https://github.com/SEMOSS/Template --skill semoss-user-menu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: semoss-user-menu
Source: https://github.com/SEMOSS/Template/tree/main/.claude/skills/semoss-user-menu
Command: npx skills add https://github.com/SEMOSS/Template --skill semoss-user-menu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @radix-ui/react-dropdown-menu, and includes references (resource) components.

What problem does it solve?

This skill addresses the lack of a user-facing navigation and authentication UI in the base SEMOSS template, providing a standardized way to handle user sessions and page routing.

Core Features & Use Cases

  • User Profile Management: Implements a dropdown menu for displaying user identity and triggering secure logout actions.
  • Navigation Bar: Provides a consistent top-level navigation component with logo and page links.
  • Use Case: Use this when you have finished the core application logic and need to add a professional header that allows users to navigate between pages and manage their session state.

Quick Start

Use the semoss-user-menu skill to install the dropdown-menu primitive and integrate the navigation bar into the InitializedLayout component.

Frequently Asked Questions about semoss-user-menu

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a user profile dropdown and navigation bar to a React application?

You can add a user profile dropdown and navigation bar by integrating the UserProfileMenu and MainNavigation components into your application layout, leveraging existing authentication contexts and shadcn/ui primitives to manage user sessions and page routing.

Do I need @radix-ui/react-dropdown-menu to build a user profile menu?

Yes, installing @radix-ui/react-dropdown-menu is required. The user profile menu dropdown component relies on this primitive library alongside shadcn/ui to render the navigation and session management interface correctly.

What is the best way to implement session management and secure logout in a React UI?

Implementing session management and secure logout is achieved by adding a user profile dropdown that leverages existing authentication contexts, providing a standardized interface to display user identity and trigger secure logout actions.

Can I use shadcn/ui primitives for top-level navigation and page routing?

Yes, you can use shadcn/ui primitives for top-level navigation. The navigation bar component provides a consistent header with logo and page links, while routing is facilitated by integrating these elements into the InitializedLayout component.

When should I add a navigation bar and user menu to my application layout?

You should add a navigation bar and user menu after finishing the core application logic. This provides a professional header that allows users to navigate between pages and manage their session state once the primary features are complete.