---
title: Services Blocks for Astro
description: "Astro service sections for local businesses and agencies. Compare prebuilt layouts for service offers, project work, and customer enquiries."
seo:
    title: "Astro Services blocks: examples and source"
sidebar:
    label: "Services"
related:
    - /blocks
    - /components
    - /docs/astro-business-websites
mode: wide
---

## Image grid

Pair each service with an image and a short explanation.

```astro
---
import Services1Block from "@/components/blocks/services/services-1.astro"
import PlaceholderImage from "@/assets/placeholder.webp"
---

<Services1Block
  badge="gnostic AI"
  title="Where does a customer request slow down?"
  buttons={[
    {
      label: "About gnostic AI",
      href: "https://gnosticai.com",
      variant: "outline",
    },
  ]}
  services={[
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Discovery",
      title: "Workflow review",
      description:
        "Follow one customer request from the inbox to the person who handles it. Mark each place someone copies the same details.",
      href: "",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Automation",
      title: "Intake automation",
      description:
        "Turn a submitted request into a draft work order. Route incomplete requests to a person who can fill in the gaps.",
      href: "",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "AI assistance",
      title: "AI-assisted replies",
      description:
        "Draft a reply from approved support notes. Give the reviewer the original question and the sources used for the draft.",
      href: "",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Operations",
      title: "Workflow monitoring",
      description:
        "Flag requests that have no owner or missed a deadline so the team can follow up.",
      href: "",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/services-1
```

## Asymmetric cards

Use a wide media card to introduce the main service.

```astro
---
import Block from "@/components/blocks/services/services-asymmetric-cards.astro"
import lake from "../../../src/assets/images/mountain-beyond-lake-scene.png"
import { getImage } from "astro:assets"

const lakeUrl = (await getImage({ src: lake, width: 1200, format: "webp" })).src
const content = {
  eyebrow: "gnostic AI",
  title: "Which step should you automate first?",
  description:
    "Use a recent request to find a repetitive step, then try it with sample data.",
  services: [
    {
      label: "Discovery",
      title: "Map the handoffs",
      description:
        "Trace a request across the inbox, the ticket queue, and the customer record.",
      image: {
        src: lakeUrl,
        alt: "Mountain ridge beyond a lake",
      },
    },
    {
      label: "Pilot",
      title: "Test the routing rule",
      description:
        "Try a clear request and an ambiguous one. Record which queue receives each.",
      value: "2 test cases",
    },
  ],
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/services-asymmetric-cards
```

## Process

Show the service steps in the order a customer will follow.

```astro
---
import Services2Block from "@/components/blocks/services/services-2.astro"
import PlaceholderImage from "@/assets/placeholder.webp"
---

<Services2Block
  badge="gnostic AI"
  title="Pilot a support workflow"
  description="Trace a request, build one automated step, then have the support team review the result."
  services={[
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Step 1",
      title: "Workflow review",
      description:
        "Follow one customer request from the inbox to the person who handles it. Mark each place someone copies the same details.",
      button: {
        label: "View the inquiry example",
        href: "/blocks/contact#split-form",
      },
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Step 2",
      title: "Intake automation",
      description:
        "Turn a submitted request into a draft work order. Route incomplete requests to a person who can fill in the gaps.",
      button: {
        label: "View the inquiry example",
        href: "/blocks/contact#split-form",
      },
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Step 3",
      title: "Review the pilot",
      description:
        "Compare the draft work order with the original request. Record missing details and test the revised rule on another request.",
      button: {
        label: "View the inquiry example",
        href: "/blocks/contact#split-form",
      },
    },
  ]}
/>
```

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

## Overlays

Place the service message over its supporting image.

```astro
---
import Services3Block from "@/components/blocks/services/services-3.astro"
import PlaceholderImage from "@/assets/placeholder.webp"
---

<Services3Block
  badge="gnostic AI"
  title="Give every request an owner"
  description="Explore four ways to improve the path from a customer’s first message to a reviewed reply."
  buttons={[
    {
      label: "View the inquiry example",
      href: "/blocks/contact#split-form",
      variant: "default",
    },
    {
      label: "About gnostic AI",
      href: "https://gnosticai.com",
      variant: "outline",
    },
  ]}
  services={[
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Workflow review",
      description:
        "Follow one customer request from the inbox to the person who handles it. Mark each place someone copies the same details.",
      button: {
        label: "View the inquiry example",
        href: "/blocks/contact#split-form",
      },
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Intake automation",
      description:
        "Turn a submitted request into a draft work order. Route incomplete requests to a person who can fill in the gaps.",
      button: {
        label: "View the inquiry example",
        href: "/blocks/contact#split-form",
      },
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "AI-assisted replies",
      description:
        "Draft a reply from approved support notes. Give the reviewer the original question and the sources used for the draft.",
      button: {
        label: "View the inquiry example",
        href: "/blocks/contact#split-form",
      },
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Workflow monitoring",
      description:
        "Flag requests that have no owner or missed a deadline so the team can follow up.",
      button: {
        label: "View the inquiry example",
        href: "/blocks/contact#split-form",
      },
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/services-3
```

## Minimal cards

Use simple cards when a title and short description explain the offer.

```astro
---
import Services4Block from "@/components/blocks/services/services-4.astro"
import PlaceholderImage from "@/assets/placeholder.webp"
---

<Services4Block
  title="Automation for a busy support team"
  description="Explore how gnostic AI could help a support team assign new requests, prepare replies, and catch missed follow-ups."
  buttons={[
    {
      label: "View the inquiry example",
      href: "/blocks/contact#split-form",
      variant: "default",
    },
  ]}
  services={[
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Workflow review",
      description:
        "Follow one customer request from the inbox to the person who handles it. Mark each place someone copies the same details.",
      href: "",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Intake automation",
      description:
        "Turn a submitted request into a draft work order. Route incomplete requests to a person who can fill in the gaps.",
      href: "",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "AI-assisted replies",
      description:
        "Draft a reply from approved support notes. Give the reviewer the original question and the sources used for the draft.",
      href: "",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Workflow monitoring",
      description:
        "Flag requests that have no owner or missed a deadline so the team can follow up.",
      href: "",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/services-4
```

## Icon grid

Give each service a small icon and a concise explanation.

```astro
---
import Services5Block from "@/components/blocks/services/services-5.astro"
---

<Services5Block
  badge="gnostic AI"
  title="Choose a workflow to improve"
  description="Start with a task your team repeats each week. These examples show where automation can help."
  services={[
    {
      icon: "search",
      title: "Workflow review",
      description:
        "Follow one customer request from the inbox to the person who handles it. Mark each place someone copies the same details.",
      href: "",
    },
    {
      icon: "pencil-ruler",
      title: "Intake automation",
      description:
        "Turn a submitted request into a draft work order. Route incomplete requests to a person who can fill in the gaps.",
      href: "",
    },
    {
      icon: "code",
      title: "AI-assisted replies",
      description:
        "Draft a reply from approved support notes. Give the reviewer the original question and the sources used for the draft.",
      href: "",
    },
    {
      icon: "rocket",
      title: "Workflow monitoring",
      description:
        "Flag requests that have no owner or missed a deadline so the team can follow up.",
      href: "",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/services-5
```

## Sticky sidebar

Keep the introduction beside the service cards as readers move down the section.

```astro
---
import Services6Block from "@/components/blocks/services/services-6.astro"
import PlaceholderImage from "@/assets/placeholder.webp"
---

<Services6Block
  badge="gnostic AI"
  title="Find the manual steps in your inbox"
  description="Use a recent support request to trace who received it, which details they copied, and where the reply waited."
  buttons={[
    {
      label: "View the inquiry example",
      href: "/blocks/contact#split-form",
      variant: "default",
    },
    {
      label: "About gnostic AI",
      href: "https://gnosticai.com",
      variant: "outline",
    },
  ]}
  services={[
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Workflow review",
      description:
        "Follow one customer request from the inbox to the person who handles it. Mark each place someone copies the same details.",
      href: "",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Intake automation",
      description:
        "Turn a submitted request into a draft work order. Route incomplete requests to a person who can fill in the gaps.",
      href: "",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "AI-assisted replies",
      description:
        "Draft a reply from approved support notes. Give the reviewer the original question and the sources used for the draft.",
      href: "",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Workflow monitoring",
      description:
        "Flag requests that have no owner or missed a deadline so the team can follow up.",
      href: "",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/services-6
```

## Featured grid

Give one service more space than the supporting offers.

```astro
---
import Services7Block from "@/components/blocks/services/services-7.astro"
import PlaceholderImage from "@/assets/placeholder.webp"
---

<Services7Block
  badge="gnostic AI"
  title="Start with one support request"
  description="A workflow review gives the team a record of each handoff and a short list of tasks to test."
  buttons={[
    {
      label: "View the inquiry example",
      href: "/blocks/contact#split-form",
      variant: "default",
    },
    {
      label: "About gnostic AI",
      href: "https://gnosticai.com",
      variant: "outline",
    },
  ]}
  services={[
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Discovery",
      title: "Workflow review",
      description:
        "Follow one customer request from the inbox to the person who handles it. Mark each place someone copies the same details.",
      href: "",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Automation",
      title: "Intake automation",
      description:
        "Turn a submitted request into a draft work order. Route incomplete requests to a person who can fill in the gaps.",
      href: "",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "AI assistance",
      title: "AI-assisted replies",
      description:
        "Draft a reply from approved support notes. Give the reviewer the original question and the sources used for the draft.",
      href: "",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/services-7
```

## Image list

```astro
---
import Block from "@/components/blocks/services/services-image-list.astro"
import { getImage } from "astro:assets"
import lake from "../../../src/assets/images/mountain-beyond-lake-scene.png"

const lakeUrl = (await getImage({ src: lake, width: 1200, format: "webp" })).src
const content = {
  eyebrow: "gnostic AI",
  title: "Plan an automation project",
  description:
    "Follow a request from the first message through data entry and a reviewed reply.",
  image: {
    src: lakeUrl,
    alt: "Mountain ridge beyond a lake",
  },
  tags: ["AI consulting", "Workflow automation"],
  projectsLabel: "Explore the process example",
  contact: {
    label: "About gnostic AI",
    href: "https://gnosticai.com",
    email: "projects@example.com",
    available: "Sample project brief",
  },
  projectsHref: "/blocks/services#process",
  capabilities: ["Process mapping", "Review queues"],
  services: [
    {
      title: "Request routing",
      description:
        "Assign each new request to a queue based on its topic. Send unclear cases to the intake team.",
      icon: "clock",
      price: "Scoped per workflow",
    },
    {
      title: "Document intake",
      description:
        "Extract invoice numbers and totals into a draft record that a reviewer can check against the original.",
      icon: "layers",
      duration: "One pilot cycle",
    },
    {
      title: "Reply review",
      description:
        "Compare an AI-drafted answer with the source material before sending it to the customer.",
      icon: "check",
      duration: "Each review cycle",
    },
  ],
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/services-image-list
```

## Visual service grid

Supply your own content. The section uses the selected project preset.

```astro
---
import Block from "@/components/blocks/services/services-visual-grid/services-visual-grid.astro"
import type { VisualServicesContent } from "@/components/blocks/services/services-visual-grid/types"

const content = {
  label: "gnostic AI",
  title: "Three tasks in a support queue",
  services: [
    {
      title: "Request routing",
      description:
        "Assign each new request to a queue based on its topic. Send unclear cases to the intake team.",
    },
    {
      title: "Document intake",
      description:
        "Extract invoice numbers and totals into a draft record that a reviewer can check against the original.",
    },
    {
      title: "Reply review",
      description:
        "Compare an AI-drafted answer with the source material before sending it to the customer.",
    },
  ],
} satisfies VisualServicesContent
---

<Block {content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/services-visual-grid
```

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/services/services-visual-grid/types.ts"
    name="VisualServicesProps"
/>

## Editorial services

Use this section for the services part of a studio site.

```astro
---
import Section from "@/components/blocks/services/services-illustrated-grid/services-illustrated-grid.astro"
import { getImage } from "astro:assets"
import lake from "../../../src/assets/images/mountain-beyond-lake-scene.png"
import hall from "../../../src/assets/images/entrance-hall.png"
import field from "../../../src/assets/images/open-field-illustration.png"

const lakeUrl = (await getImage({ src: lake, width: 1200, format: "webp" })).src
const hallUrl = (await getImage({ src: hall, width: 1200, format: "webp" })).src
const fieldUrl = (await getImage({ src: field, width: 1200, format: "webp" }))
  .src
const section = {
  label: "gnostic AI",
  title: "Workflows that start",
  accent: "with a request",
  description:
    "Follow a request from the first message through data entry and a reviewed reply.",
  services: [
    {
      title: "Request routing",
      description:
        "Assign each new request to a queue based on its topic. Send unclear cases to the intake team.",
      image: {
        src: lakeUrl,
        alt: "Mountain ridge beyond a lake",
      },
    },
    {
      title: "Document intake",
      description:
        "Extract invoice numbers and totals into a draft record that a reviewer can check against the original.",
      image: {
        src: hallUrl,
        alt: "An illustrated entrance hall",
      },
    },
    {
      title: "Reply review",
      description:
        "Compare an AI-drafted answer with the source material before sending it to the customer.",
      image: {
        src: fieldUrl,
        alt: "Illustration of an open field",
      },
    },
  ],
}
---

<Section {...section} />
```

```sh
bunx --bun shadcn@latest add @gnostic/services-illustrated-grid
```

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/services/services-illustrated-grid/types.ts"
    name="ServicesIllustratedGridProps"
/>

See [serif accent font setup](/ui/docs/installation#serif-accent-fonts-for-editorial-blocks) when installing this section.

## Editorial expertise

Use this section for the expertise part of a studio site.

```astro
---
import Section from "@/components/blocks/experience/experience-timeline/experience-timeline.astro"

const section = {
  label: "gnostic AI · Example project",
  title: "How an intake team",
  accent: "tests a pilot",
  description:
    "In this example, a support team tests a routing rule before it connects the rule to its live inbox.",
  entries: [
    {
      title: "Map the current route",
      role: "Workflow consultant",
      period: "Discovery",
      description:
        "Track one request from arrival to assignment. Note who chooses the queue and which details they use.",
    },
    {
      title: "Test the exceptions",
      role: "Support lead",
      period: "Pilot review",
      description:
        "Try requests with missing details or two possible owners. Check that a person can resolve each exception.",
    },
  ],
}
---

<Section {...section} />
```

```sh
bunx --bun shadcn@latest add @gnostic/experience-timeline
```

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/experience/experience-timeline/types.ts"
    name="ExperienceTimelineProps"
/>

See [serif accent font setup](/ui/docs/installation#serif-accent-fonts-for-editorial-blocks) when installing this section.

## Icon panels

```astro
---
import Block from "@/components/blocks/services/services-icon-panels/services-icon-panels.astro"

const content = {
  eyebrow: "gnostic AI",
  title: "Where could your team use a second set of eyes?",
  note: "Each example includes a step for human review.",
  action: {
    label: "About gnostic AI",
    href: "https://gnosticai.com",
  },
  services: [
    {
      title: "Request routing",
      description:
        "Assign each new request to a queue based on its topic. Send unclear cases to the intake team.",
      icon: "clock",
    },
    {
      title: "Document intake",
      description:
        "Extract invoice numbers and totals into a draft record that a reviewer can check against the original.",
      icon: "layers",
    },
    {
      title: "Reply review",
      description:
        "Compare an AI-drafted answer with the source material before sending it to the customer.",
      icon: "check",
    },
  ],
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/services-icon-panels
```

## Choose a services layout

Choose a services layout that matches how clients decide. A short grid can summarize a few services, while a larger image-led section can explain an involved engagement.

## Pass content from Astro

Pass service titles, descriptions, optional labels, links, and images supported by the variant. State the outcome and scope in the content. Keep contact destinations in the route data so they can change without editing the reusable block.

## Responsive layout and images

Check the order when images and text stack on small screens. Use project imagery that demonstrates the service and select a crop that preserves the useful detail. Long service names must remain readable beside any action.

## Compose the next section

Use [Content](/ui/blocks/content) for the process, [Reviews](/ui/blocks/reviews) for evidence, and [Contact](/ui/blocks/contact) for the enquiry.

## Named slots

These slots are optional. Use the slot name on a direct child of the block.

### `services-visual-grid`

| Prop | Type | Default | Description |
| - | - | - | - |
| `visual?` | `Astro content or slot function` | - | Places content in each service card. A slot function receives the zero-based index in content.services and the CSS classes for that card’s media area. |
