Link Button

Link buttons allow users to navigate to a different page.

#

#

Use this variant for call-to-action buttons on the page that the user is expected to perform next.

There should be no more than three primary buttons on the page at once. Avoid placing two primary buttons near each other.

#

Use this variant for all buttons that don't qualify for primary, tertiary, or warning variants.

This is a default variant, so you don't have to explicitly specify it via variant prop.

#

Use this variant for a quieter button. This button does not have a border.

#

Use this variant for linking to a page that contains a dangerous or destructive action.

#

Disabled button indicates that user may navigate to a certain page, but it is not available currently.

When button is disabled, use a tooltip to explain why user is not allowed to go to the next page or what do they have to do to enable it.

#

When a button is justified, it takes up the entire available container width. By default, a button size depends on length of a label inside a button.

#

Icons can be used in buttons when additional clarity is required and the icon is highly relevant to the action. Icons should not be used for decoration.

If icon indicates a direction, use directionIcon prop, which places the icon on the right side of a button.

#

Buttons can also display an image instead of an icon.

#

Use a ButtonGroup component when you need to show two or more buttons nearby.

#

Primary

Secondary

Tertiary

Warning

Initial

Disabled

Loading

#

#

  • As a call-to-action to navigate to a different page, with a purpose of creating or modifying some resource.

#

  • If you're navigating to an external URL that's not part of the current app, use a link instead.

#

#

  • Only use icons from Hightouch UI.
  • Don't override icon size.
  • Prefer outline icons over solid ones.

#

  • Use a justified button only inside a container with defined bounds, like a card or a dialog.

#

#

NameDefaultDescription

On this page

  • Usage
  • Primary
  • Secondary
  • Tertiary
  • Warning
  • Disabled
  • Justified
  • Icons
  • Images
  • Button groups
  • Combinations
  • Guidelines
  • When to use
  • When not to use
  • Content
  • Icons
  • Sizes
  • Props
  • LinkButton