---
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
---

## 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="Morrow studio"
  title="Care for the things you use each day"
  buttons={[
    {
      label: "Book an assessment",
      href: "https://example.com/morrow/appointments",
      variant: "outline",
    },
  ]}
  services={[
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Assessment",
      title: "Item assessment",
      description:
        "Bring the item to the studio so we can check the material and explain the available work.",
      href: "https://example.com/morrow/appointments",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Repair",
      title: "Stitch repair",
      description:
        "Repair a loose seam after checking the surrounding material for further wear.",
      href: "https://example.com/morrow/appointments",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Care",
      title: "Fastening replacement",
      description:
        "Replace a damaged fastening with a suitable part after confirming the fit.",
      href: "https://example.com/morrow/appointments",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Collection",
      title: "Cover restoration",
      description:
        "Discuss the condition of a worn cover and the finish you want to preserve.",
      href: "https://example.com/morrow/appointments",
    },
  ]}
/>
```

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

## 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="Morrow studio"
  title="A clear process for your next repair"
  description="Tell us what has changed, bring the item for an assessment, and agree on the work before the repair begins."
  services={[
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Assessment",
      title: "Item assessment",
      description:
        "Bring the item to the studio so we can check the material and explain the available work.",
      button: {
        label: "Book an assessment",
        href: "https://example.com/morrow/appointments",
      },
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Repair",
      title: "Stitch repair",
      description:
        "Repair a loose seam after checking the surrounding material for further wear.",
      button: {
        label: "Book an assessment",
        href: "https://example.com/morrow/appointments",
      },
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Care",
      title: "Fastening replacement",
      description:
        "Replace a damaged fastening with a suitable part after confirming the fit.",
      button: {
        label: "Book an assessment",
        href: "https://example.com/morrow/appointments",
      },
    },
  ]}
/>
```

```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="Morrow studio"
  title="Book time with the repair studio"
  description="Choose an assessment, a small repair, or a maintenance visit. The studio confirms the scope before any work starts."
  buttons={[
    {
      label: "Book an assessment",
      href: "https://example.com/morrow/appointments",
      variant: "default",
    },
    {
      label: "Book an assessment",
      href: "https://example.com/morrow/appointments",
      variant: "outline",
    },
  ]}
  services={[
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Item assessment",
      description:
        "Bring the item to the studio so we can check the material and explain the available work.",
      button: {
        label: "Book an assessment",
        href: "https://example.com/morrow/appointments",
      },
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Stitch repair",
      description:
        "Repair a loose seam after checking the surrounding material for further wear.",
      button: {
        label: "Book an assessment",
        href: "https://example.com/morrow/appointments",
      },
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Fastening replacement",
      description:
        "Replace a damaged fastening with a suitable part after confirming the fit.",
      button: {
        label: "Book an assessment",
        href: "https://example.com/morrow/appointments",
      },
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Cover restoration",
      description:
        "Discuss the condition of a worn cover and the finish you want to preserve.",
      button: {
        label: "Book an assessment",
        href: "https://example.com/morrow/appointments",
      },
    },
  ]}
/>
```

```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="Small repairs, carefully finished"
  description="Bring a worn bag, a loose fastening, or a damaged cover. We will explain the available repair options."
  buttons={[
    {
      label: "Book an assessment",
      href: "https://example.com/morrow/appointments",
      variant: "default",
    },
  ]}
  services={[
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Item assessment",
      description:
        "Bring the item to the studio so we can check the material and explain the available work.",
      href: "https://example.com/morrow/appointments",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Stitch repair",
      description:
        "Repair a loose seam after checking the surrounding material for further wear.",
      href: "https://example.com/morrow/appointments",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Fastening replacement",
      description:
        "Replace a damaged fastening with a suitable part after confirming the fit.",
      href: "https://example.com/morrow/appointments",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Cover restoration",
      description:
        "Discuss the condition of a worn cover and the finish you want to preserve.",
      href: "https://example.com/morrow/appointments",
    },
  ]}
/>
```

```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="Morrow studio"
  title="Find the right help for your project"
  description="Select a service that matches the item and include a short note about the problem."
  services={[
    {
      icon: "search",
      title: "Item assessment",
      description:
        "Bring the item to the studio so we can check the material and explain the available work.",
      href: "https://example.com/morrow/appointments",
    },
    {
      icon: "pencil-ruler",
      title: "Stitch repair",
      description:
        "Repair a loose seam after checking the surrounding material for further wear.",
      href: "https://example.com/morrow/appointments",
    },
    {
      icon: "code",
      title: "Fastening replacement",
      description:
        "Replace a damaged fastening with a suitable part after confirming the fit.",
      href: "https://example.com/morrow/appointments",
    },
    {
      icon: "rocket",
      title: "Cover restoration",
      description:
        "Discuss the condition of a worn cover and the finish you want to preserve.",
      href: "https://example.com/morrow/appointments",
    },
  ]}
/>
```

```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="Morrow studio"
  title="Discuss the details before we begin"
  description="A useful repair starts with an honest assessment of the material, damage, and intended use."
  buttons={[
    {
      label: "Book an assessment",
      href: "https://example.com/morrow/appointments",
      variant: "default",
    },
    {
      label: "Book an assessment",
      href: "https://example.com/morrow/appointments",
      variant: "outline",
    },
  ]}
  services={[
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Item assessment",
      description:
        "Bring the item to the studio so we can check the material and explain the available work.",
      href: "https://example.com/morrow/appointments",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Stitch repair",
      description:
        "Repair a loose seam after checking the surrounding material for further wear.",
      href: "https://example.com/morrow/appointments",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Fastening replacement",
      description:
        "Replace a damaged fastening with a suitable part after confirming the fit.",
      href: "https://example.com/morrow/appointments",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      title: "Cover restoration",
      description:
        "Discuss the condition of a worn cover and the finish you want to preserve.",
      href: "https://example.com/morrow/appointments",
    },
  ]}
/>
```

```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="Morrow studio"
  title="Start with a complete item assessment"
  description="Book an assessment when the item needs several repairs or the cause of the damage is unclear."
  buttons={[
    {
      label: "Book an assessment",
      href: "https://example.com/morrow/appointments",
      variant: "default",
    },
    {
      label: "Book an assessment",
      href: "https://example.com/morrow/appointments",
      variant: "outline",
    },
  ]}
  services={[
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Assessment",
      title: "Item assessment",
      description:
        "Bring the item to the studio so we can check the material and explain the available work.",
      href: "https://example.com/morrow/appointments",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Repair",
      title: "Stitch repair",
      description:
        "Repair a loose seam after checking the surrounding material for further wear.",
      href: "https://example.com/morrow/appointments",
    },
    {
      image: { src: PlaceholderImage, alt: "Sample image placeholder" },
      label: "Care",
      title: "Fastening replacement",
      description:
        "Replace a damaged fastening with a suitable part after confirming the fit.",
      href: "https://example.com/morrow/appointments",
    },
  ]}
/>
```

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

## Services Portfolio

An independent section from the Portfolio template. Supply its content through props.

```astro
---
import Block from "@/components/blocks/services/services-portfolio.astro"
import asset0 from "../../../../../packages/templates/sable/site/src/assets/sable/salon-interior.png"
const content = {
  eyebrow: "Time in the chair",
  title: "A fresh start,\nor a small change.",
  description:
    "Every appointment begins with a conversation about your hair, your routine, and what you want to feel when you leave.",
  image: {
    src: asset0,
    alt: "Warm daylight across the chairs and mirrors at Sable",
  },
  tags: ["Cuts", "Colour", "Styling"],
  capabilities: [
    "All textures welcome",
    "Consultation first",
    "Care you can keep up",
  ],
  projectsLabel: "Explore the looks",
  services: [
    {
      title: "Cut & finish",
      description:
        "A shape that works with your texture, finished with simple styling advice.",
      icon: "scissors",
      price: "From $65",
      duration: "60 minutes",
    },
    {
      title: "Colour & gloss",
      description:
        "A subtle refresh or a new direction. We plan the shade and upkeep together.",
      icon: "palette",
      price: "From $95",
      duration: "90 minutes",
    },
    {
      title: "Curls & texture",
      description:
        "Shape, definition, and a routine that makes room for your natural movement.",
      icon: "waves",
      price: "From $80",
      duration: "75 minutes",
    },
    {
      title: "Style & occasion",
      description:
        "A relaxed finish, a polished blow-dry, or a look for a day worth dressing up for.",
      icon: "sparkles",
      price: "From $45",
      duration: "45 minutes",
    },
  ],
  contact: {
    label: "Plan your visit",
    href: "#visit",
    email: "hello@example.com",
    available: "Cuts · Colour · Care",
  },
  projectsHref: "#looks",
}
---

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

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

## 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: "What we build",
  title: "Practical AI for the Work That Slows You Down",
  services: [
    {
      title: "Connected Workflows.",
      description:
        "Move requests, files, and updates between your tools without copying them by hand.",
      visual: "workflow",
    },
    {
      title: "Focused AI Agents.",
      description:
        "Give research and document tasks to an agent with a clear job and clear limits.",
      visual: "agents",
    },
    {
      title: "Voice Assistants.",
      description:
        "Handle routine call questions and booking requests, with a route to a real person.",
      visual: "voice",
    },
    {
      title: "Thoughtful Follow-up.",
      description:
        "Prepare useful reminders and draft replies while your team controls what goes out.",
      visual: "marketing",
    },
    {
      title: "Reports That Explain.",
      description:
        "Bring scattered numbers into a daily brief that shows what needs your attention.",
      visual: "analytics",
    },
    {
      title: "Knowledge Assistants.",
      description:
        "Help people find answers in your approved guides, with sources they can check.",
      visual: "chat",
    },
  ],
} 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-agency.astro"
const section = {
  label: "Made for spatial brands",
  title: "Good work,",
  accent: "clearly seen",
  description:
    "A considered identity, a useful website, and stories that let people see the care in your work.",
  services: [
    {
      title: "Brand foundations",
      description:
        "Find the words, type, and visual language that make your practice feel like you.",
      image: {
        src: "/media/foldline/brand-foundations.svg",
        alt: "",
      },
    },
    {
      title: "Studio websites",
      description:
        "Give your projects room to breathe, with clear navigation and an archive you can manage.",
      image: {
        src: "/media/foldline/studio-websites.svg",
        alt: "",
      },
    },
    {
      title: "Project stories",
      description:
        "Bring drawings, photographs, and the thinking behind a space into one clear narrative.",
      image: {
        src: "/media/foldline/project-stories.svg",
        alt: "",
      },
    },
    {
      title: "Launch support",
      description:
        "Put the details in place, from a project announcement to the first visitor enquiry.",
      image: {
        src: "/media/foldline/launch-support.svg",
        alt: "",
      },
    },
  ],
}
---

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

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

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/shared/agency/types.ts"
    name="AgencyServicesProps"
/>

See [serif accent font setup](/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-agency.astro"
const section = {
  label: "Our focus",
  title: "Built around",
  accent: "your world",
  description:
    "Different disciplines, connected by a belief that the details deserve to be seen.",
  entries: [
    {
      title: "Architecture",
      role: "Practices & project archives",
      period: "01 / Places",
      description:
        "Help people understand a building through its setting, its decisions, and the way it is used.",
    },
    {
      title: "Interiors & hospitality",
      role: "Studios & places to stay",
      period: "02 / Spaces",
      description:
        "Translate atmosphere into a clear digital experience, with useful detail alongside the images.",
    },
    {
      title: "Furniture & objects",
      role: "Makers & collections",
      period: "03 / Objects",
      description:
        "Bring form, material, and craft into focus for the people who specify and live with your work.",
    },
  ],
}
---

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

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

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/shared/agency/types.ts"
    name="AgencyExpertiseProps"
/>

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

## Home services services

```astro
---
import Block from "@/components/blocks/services/services-remodify.astro"
const content = {
  eyebrow: "Remodeling Services",
  title: "Room to Grow.",
  note: "[ Your home. Your next chapter. ]",
  services: [
    {
      title: "Kitchen Remodeling",
      description:
        "Create a kitchen that works for busy mornings and long dinners. Plan cabinets, countertops, lighting, and storage around how you cook and gather.",
      icon: "cooking-pot",
    },
    {
      title: "Bathroom Remodeling",
      description:
        "Make daily routines easier with a better layout, practical storage, durable tile, and a shower or bath that suits your space.",
      icon: "bath",
    },
    {
      title: "Whole-Home Renovations",
      description:
        "Bring disconnected rooms together. Coordinate flooring, finishes, lighting, and layout changes with one plan for your home.",
      icon: "house",
    },
    {
      title: "Interior Updates",
      description:
        "Refresh the rooms you already enjoy with built-in storage, finish carpentry, new flooring, and carefully chosen fixtures.",
      icon: "ruler",
    },
  ],
  action: {
    label: "Talk through your ideas: (919) 555-0142",
    href: "tel:+19195550142",
  },
}
---

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

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

## 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](/blocks/content) for the process, [Reviews](/blocks/reviews) for evidence, and [Contact](/blocks/contact) for the enquiry.
