Custom and net-new: AgenticMenuButton
Everything in this proposal that is not plain PDS v2. npm run check:tokens reads this file: each net-new class, custom CSS variable and raw value found in the code must appear here in backticks.
Net-new components
None. This is an addition to MenuButton (since 2026-11-20).
Additions to existing PDS components
- On
MenuButton:variant='agentic'(label mode passes it to the Button;iconOnlypasses it to the IconButton). - On
.pds-icon-button:.pds-icon-button--agentic(the Icon Button proposal'sagenticvariant), which the icon-only open-state rule inagentic-menu-button.csstargets.
Net-new props
variant='agentic': a new value on the existingvariantprop of MenuButton. It is the one value that also applies withiconOnly.
Custom CSS variables
--icon-button-fill— set on the expanded icon-only trigger (button.pds-menu-button__trigger--icon-only.pds-icon-button--agentic[aria-expanded='true']); the Icon Button's fill variable.
Raw values kept on purpose
None.