# Responsive Command Bar

Document action bar preserving Save and Edit when narrowed and collapsing secondary actions to an overflow menu.

- id: `responsive-command-bar`
- Page: https://agentic-ui-kit.com/components/responsive-command-bar
- Live preview: https://agentic-ui-kit.com/live/component/responsive-command-bar

## Install

```bash
agentic-ui add responsive-command-bar
npx shadcn@4.17.0 add @agentic-ui/responsive-command-bar
```

## Metadata

- **Level:** block
- **Category:** block
- **Installable in:** Radix UI (registry variant new-york)
- **Capabilities:** priority-based-collapse, overflow-menu, overflow-bottom-sheet, container-width-measurement, roving-tabindex, keyboard-navigation, focus-remap-on-collapse, disabled-action, destructive-action, shortcut-hint, overflow-count-in-accessible-name, empty-state
- **Intents:** execute-flow, manage-collection, navigate
- **Suits domains:** saas, operations, project-management, devtools, ecommerce, knowledge
- **Interaction:** click, keyboard-arrow-navigation, overflow-menu-open, bottom-sheet-open, container-resize
- **Screen role:** management
- **Density:** compact
- **Dark mode:** yes
- **Use it for:** document action bar preserving Save and Edit when narrowed and collapsing secondary actions to an overflow menu, admin table toolbar in a narrow sidebar that collapses based on container width rather than viewport, bulk selection actions on mobile presented as a thumb-reachable bottom sheet, editor toolbar where secondary utilities yield space to primary actions
- **Avoid when:** global command palette with search across an entire action catalog, primary top-level site navigation between application sections
- **Preserve when adapting:** priority-over-position-collapse, keyboard-reachability-of-collapsed-actions, focus-remap-on-collapse, overflow-count-in-accessible-name
- **Replace when adapting:** action-set-and-icons, sheet-breakpoint, overflow-trigger-affordance, action-handlers
- **Adaptation effort:** low
- **Coupling:** low
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** button, dropdown-menu, sheet, separator
- **npm dependencies:** lucide-react
- **npm dependencies (registry):** lucide-react@0.577.0
- **Registry dependencies:** lib-primitives
