![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@axa-ch/button-link
Advanced tools
Button links provide link functionality, but in the style of a button. They may display text, icons, or both. Button links can be styled via several properties to change their look-and-feel. If you need a semantically correct button, use axa-button instead.
Attribute | Details |
---|---|
variant="secondary" | Button link in a ghost state |
variant="red" | Button link red |
variant="inverted" | Button link inverted |
The string-valued attribute href
is used like in a native <a> hyperlink.
The Boolean attribute external
adds the target="_blank"
functionality.
Attribute | Details |
---|---|
size="" | Default button medium size |
size="small" | button small size |
size="large" | button large size |
The Boolean attribute motionoff
deactivates the hover animation.
The Boolean attribute disabled
disables the button natively.
Using the attribute icon
's string value as icon name, an icon will be rendered. To see the full list of possible icons, see the axa-icon README.
The function-valued attribute onClick
can be used as a callback prop for React and other frameworks.
FAQs
The button-link component for the AXA Pattern Library
The npm package @axa-ch/button-link receives a total of 0 weekly downloads. As such, @axa-ch/button-link popularity was classified as not popular.
We found that @axa-ch/button-link demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 64 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.