Navigation
Back link
Return to the parent list from a detail page.
import { BackLink } from '@jsonresume/ui'Source(opens in a new tab)
Examples
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>
| Prop | Type | Default | Description |
|---|---|---|---|
| asChild | boolean | false |