Custom and net-new: AgenticButton
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 Button (since 2026-11-20).
Additions to existing PDS components
- On
Button:variant='agentic'(renders the secondary look plus the class.pds-button--agentic) and theisAnimatedprop (adds.pds-button--animated, only with the agentic variant).- Classes:
.pds-button--agentic(the gradient border),.pds-button--animated(the shimmer). - One scoped rule:
.pds-button--agentic.pds-button--loading.pds-pulse { background-image: none }, so the loading pulse covers the gradient. It used to be an edit in the basebutton.css; it now lives inagentic-button.css.
- Classes:
Net-new props
variant='agentic': a new value on the existingvariantprop.isAnimated: a new prop onButton, defaultfalse; shimmers the border.
Custom CSS variables
--button-border-color,--button-border-color-active,--button-border-color-hover— the Button's variables, set totransparenton.pds-button--agenticso the gradient shows as the border.
Raw values kept on purpose
None.