just a button


2.0.02 years ago4 years agoMinified + gzip package size for @hashicorp/hashi-button in KB



A simple button.


  • title (str) - button text
  • url (str) [optional] - where the button links to
  • external (bool) [optional] - opens the link in a new tab
  • theme (str) [optional] - a hashicorp-defined button theme
  • classes (str) [optional] - any additional classes needed on the button
  • ga_prefix (str) [optional] - a prefix to add the to GA event when clicked

This component also will reflect any additional props you pass it to the top level, so you can attach things like onClick etc.


  • hashi-hero
  • hashi-logo-grid

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.