About Topbar
Topbar is a sticky horizontal navigation component that sits at the top of your application. It provides a consistent location for branding, navigation controls, and user actions.Components
- Topbar - Main container for top navigation
- TopbarActions - Container for action buttons and controls
Installation
Usage
Props
Topbar
TopbarActions
Composition
Topbar uses a flexbox layout with space-between justification, placing content on the left and actions on the right.Sticky Positioning
Topbar usesposition: sticky and top: 0 to remain visible when scrolling. It has a high z-index (40) to stay above page content.
Accessibility
- Topbar requires a unique
idfor skip link navigation - Use semantic grouping for related actions
- Ensure interactive elements have accessible labels
- Topbar has proper color contrast for readability
Layout Integration
Topbar works with other application components:Related components
- Sidebar - Vertical navigation sidebar
- Product Switcher - Product navigation
- Account Switcher - Account selection
- User Dialog - User menu