Skip to main content

LinkButton

LinkButton is similar to a button, however acts as a link to navigate users between pages.

Overview​

Loading...

Import​

Import the component from @faststore/ui

import { LinkButton } from '@faststore/ui'

Import Styles

import '@faststore/ui/src/components/molecules/LinkButton/styles.scss'

Usage​

Loading...

Props​


Design Tokens​

This component inherits Button design tokens.

Nested Elements​

Icon​

Loading...

Variants​

This component inherits Button variants.

Primary​

Loading...

Primary Inverse​

Loading...

Secondary​

Loading...

Secondary Inverse​

Loading...

Tertiary​

Loading...

Tertiary Inverse​

Loading...

Disabled​

Loading...

Small​

Loading...

Customization​

For further customization, you can use the following data attributes:

data-fs-link-button

This component inherits Button CSS selectors and styles.


Best practices​

βœ… Do's​

  • Use the LinkButton only to navigate the user between store pages. For general purposes, use the standard Button.

Didn't find your answers? Ask the Community. For documentation suggestions, submit your feedback.

JOIN THE COMMUNITY