Develop ultra fast with Prismane 🎉

Link API

Learn about the Link component's props and CSS classes.


import { LinkProps } from "@prismane/core";


Link extends Square component's props.

before() => voidA function that will be executed before redirecting the user.-
underlinenone / hover / alwaysThe underline style of the link element.hover
hrefstringThe href property of the link element.-
foreignbooleanAllows you to control whether the URL should be opened in the same page or in a new tab/window.false


Link extends Square component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneLink-rootThe container of the link component.