Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

Links Blocks for Astro

Astro resource lists and link collections with optional destination previews.

Let readers browse a compact set of related destinations.

bunx --bun shadcn@latest add @gnostic/links-2
npx shadcn@latest add @gnostic/links-2
pnpm dlx shadcn@latest add @gnostic/links-2

Choose a links block for a curated set of resources, project links, or destinations. Group related entries and describe why each destination is useful.

Pass content from Astro

Pass the links array supported by the chosen variant. Use descriptive titles, accurate hrefs, and concise descriptions. Preview data is supplied by the page; the block does not scrape destination metadata.

Responsive layout and images

Check long URLs and titles at narrow widths. If a preview image is used, choose a small, relevant asset and avoid depending on it as the only link label. Check hover and keyboard focus separately.

Compose the next section

Use Articles for editorial content and Services for an offer that needs more detail.