PlainLink is an unstyled wrapper component around the linkComponent defined on PlumaProvider. If no linkComponent is defined, a regular a tag is used instead.

Usage

You probably won't need to use this component much. This is used in Pluma internally to build the Link component, for example.

You can import the component via:

import { PlainLink } from '@customerio/pluma-components/react';
<PlainLink
  href="http://example.com"
  isExternal={true}
>External link</PlainLink>

You may want to use the component for links with custom styling, for example:

<PlainLink
	href="http://customer.io"
	isExternal={true}
	display="inline-block"
	p="200"
	backgroundColor="accent-minimal"
>
	<Text>
		This whole block is now a link!
	</Text>
</PlainLink>

API

On this page