Skip to content

Navigation

Back link

Return to the parent list from a detail page.

import { BackLink } from '@jsonresume/ui'Source(opens in a new tab)

Examples

Basic
back-link/basic.tsx
import { BackLink } from '@jsonresume/ui';

export default function BackLinkBasic() {
  return <BackLink href="#jobs">Back to jobs</BackLink>;
}

Accessibility

  • Name it after the destination ("Back to jobs"); the arrow is decorative.

Props

<BackLink>

Also accepts the attributes of the element BackLink renders.
PropTypeDefaultDescription
asChildbooleanfalse