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.