Installation
Install with nimbus-docs add link-card. It lands in src/components/ui/link-card/, yours to edit.
npx @cloudflare/nimbus-docs add link-cardyarn nimbus-docs add link-cardpnpm nimbus-docs add link-cardbunx @cloudflare/nimbus-docs add link-cardPreview
<LinkCard
title="Getting started"
description="Five-minute intro to scaffolding a docs site."
href="#"
icon="ph:rocket-launch"
/>Examples
Title only
Skip the description when the title is self-explanatory.
<LinkCard title="Changelog" href="#" />With description
Add a description to clarify what the reader gets by following the link.
<LinkCard
title="API reference"
description="Every endpoint, parameter, and response shape."
href="#"
/>API reference
Every prop the component accepts, sourced from a single declaration.
| Prop | Type |
|---|---|
title | string |
description | string |
hrefrequired | string |
icon | string |