Link
The Link
component behaves as a regular anchor tag (<a>
), but can be used as any HTML tag.
Import​
import { Link } from '@faststore/ui'
Usage​
Loading...
As div
​
Loading...
Props​
The Link
component supports all attributes supported by the tag chosen through the as
prop.
For example, if someone wants to use a wrapper for any external link component (i.e., Next.js Link
or Gatsby Link
), the FastStore UI Link
component can be used with the as="div"
prop.
Besides those attributes, the following props are also supported:
Customization​
data-fs-link