Link Button
Button styled as a link for secondary actions.
Props
color
interactive | light
Use GoabButton instead. Sets the color theme. 'interactive' for blue, 'light' for white on dark backgrounds.
Defaults to
interactive.
leadingIcon
GoAIconType
Use GoabButton instead. Icon displayed before the button text.
trailingIcon
GoAIconType
Use GoabButton instead. Icon displayed after the button text.
disabled
boolean
Use GoabButton instead. When true, prevents user interaction and applies disabled styling.
Defaults to
false.
testId
string
Use GoabButton instead. Sets a data-testid attribute for automated testing.
mt, mr, mb, ml
none | 3xs | 2xs | xs | s | m | l | xl | 2xl | 3xl | 4xl
Apply margin to the top, right, bottom, and/or left of the component.
Events
onClick
(event: Event) => void
_click
CustomEvent