Skip to main content

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

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

JOIN THE COMMUNITY

ON THIS PAGE