Skip to content

Link

Used to provide accessible navigation.

import { Link } from '@fintech-sandpit/ui/react';
return (
<Link href="/">
Home
</Link>
);
import { Link } from '@fintech-sandpit/ui/react';
import NextLink from 'next/link';
return (
<Link asChild>
<NextLink href="/">
Home
</NextLink>
</Link>
);
NameTypeRequiredDefaultDescription
hrefstringYesvalueThe URL to navigate to
asChildbooleanfalseWhether to render the link as a child component