Summary
Create `` to implement the PatternFly v6 Overflow menu component.
Responsive action bar that collapses items into a dropdown menu when space is constrained.
Prior Art
| Source |
Element |
Status |
| PFE v4 |
-- |
-- |
| cem |
-- |
-- |
| cockpit |
-- |
-- |
| chickadee |
-- |
-- |
Requirements
- MUST implement PFv6 visual designs
- MUST provide end-user feature parity with `@patternfly/react-core` OverflowMenu
- MAY adjust element API to leverage web platform strengths
- SHOULD maintain CSS custom property theming compatibility
- SHOULD expose useful CSS shadow parts
Element-specific considerations
- React `breakpoint`: `sm`, `md`, `lg`, `xl`, `2xl` - below this breakpoint, items collapse into dropdown
- React `breakpointReference`: `window` or a CSS selector for container-relative breakpoint
- React sub-components: `OverflowMenuContent`, `OverflowMenuControl`, `OverflowMenuDropdownItem`, `OverflowMenuGroup`, `OverflowMenuItem`
- `OverflowMenuContent` - visible items; `OverflowMenuControl` - the "..." dropdown trigger
- Uses `` + `` for the overflow dropdown
- Use `ResizeObserver` or container queries to determine breakpoint; SSR-safe with `isServer` guard
- Overflow items must duplicate the label from visible items for accessible dropdown
Checklist
Implementation
Demos
Tests
Reviews
Ship
Summary
Create `` to implement the PatternFly v6 Overflow menu component.
Responsive action bar that collapses items into a dropdown menu when space is constrained.
Prior Art
Requirements
Element-specific considerations
Checklist
Implementation
Demos
Tests
Reviews
Ship