Component docs
Loading
"use client";
import { RelatedLinks } from "@pixxl-tools/components";| Prop | Type | Default | Description |
|---|---|---|---|
links (required) | readonly RelatedLinkItem[] | — | — |
title | ReactNode | — | Title (any content). |
linksrequiredreadonly RelatedLinkItem[]
titleReactNode
Title (any content).
Other props are passed to the root element (HTMLAttributes<HTMLElement>), including className, style, id and aria-* attributes.
const links = [
{ href: "/docs", label: "Docs" },
{ href: "/blog", label: "Blog" },
];
<RelatedLinks title="Continue reading" links={links} />