linkButton vs. link
The HTML elements for buttons and links describe a very specific type of action that is going to be taken when they are used. However, it is important to know when to use one or the other in a specific situation:
- Use links for navigating to other pages.
- Use buttons for performing an action, such as: “submit”, “merge”, “create new”, “upload”, etc. These actions almost always occur on the same page.
btn-linkclass in a button element. All buttons should be clearly styled as buttons. This helps the user identify the type of response to expect when clicking on a given element. Go to the usage page for more information about bootstrap classes.
A secondary button is the standard button with basic style and the most commonly used option.
Use the inverse button when you placing a secondary button on a dark background.
A primary button is used for call-to-actions that are clearly more important and need attention drawn to it.
The outlined version is the alternative to solid primary buttons. Use these buttons when actions are primary but don’t want to give extra visual weight.
Use the danger button to indicate destructive or negative actions. For example, deleting data.