---
title: Links Blocks for Astro
description: "Astro resource lists and link collections with optional destination previews."
seo:
    title: "Astro Links blocks: examples and source"
sidebar:
    label: "Links"
related:
    - /blocks
    - /components
    - /docs/astro-business-websites
mode: wide
---

## Resource carousel

Let readers browse a compact set of related destinations.

```astro
---
import Links2Block from "@/components/blocks/links/links-2.astro"
---

<Links2Block
  title="gnostic AI invoice intake resources"
  description="Use these examples to set up a pilot, check a disputed total, and prepare a project brief."
  links={[
    {
      href: "/blocks/article#editorial-article",
      title: "Inspect a disputed total",
      description:
        "Follow a reviewer as they compare a $264 invoice with a $240 purchase order.",
    },
    {
      href: "/blocks/faqs#compact",
      title: "Review invoice intake questions",
      description:
        "Check which fields to capture, how to handle duplicates, and who approves the draft.",
    },
    {
      href: "/blocks/contact#estimate-form",
      title: "Prepare a pilot estimate",
      description:
        "Use the sample form to choose the part of invoice intake you want to test and record a budget.",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/links-2
```

## Choose a links layout

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](/ui/blocks/articles) for editorial content and [Services](/ui/blocks/services) for an offer that needs more detail.
