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
asChildbooleanfalseUse the provided child element as the default rendered element, combining their props and behavior