Services Blocks for Astro
Astro service sections for local businesses and agencies. Compare prebuilt layouts for service offers, project work, and customer enquiries.
Image grid
Pair each service with an image and a short explanation.
bunx --bun shadcn@latest add @gnostic/services-1npx shadcn@latest add @gnostic/services-1pnpm dlx shadcn@latest add @gnostic/services-1Asymmetric cards
Use a wide media card to introduce the main service.
bunx --bun shadcn@latest add @gnostic/services-asymmetric-cardsnpx shadcn@latest add @gnostic/services-asymmetric-cardspnpm dlx shadcn@latest add @gnostic/services-asymmetric-cardsProcess
Show the service steps in the order a customer will follow.
bunx --bun shadcn@latest add @gnostic/services-2npx shadcn@latest add @gnostic/services-2pnpm dlx shadcn@latest add @gnostic/services-2Overlays
Place the service message over its supporting image.
bunx --bun shadcn@latest add @gnostic/services-3npx shadcn@latest add @gnostic/services-3pnpm dlx shadcn@latest add @gnostic/services-3Minimal cards
Use simple cards when a title and short description explain the offer.
bunx --bun shadcn@latest add @gnostic/services-4npx shadcn@latest add @gnostic/services-4pnpm dlx shadcn@latest add @gnostic/services-4Icon grid
Give each service a small icon and a concise explanation.
bunx --bun shadcn@latest add @gnostic/services-5npx shadcn@latest add @gnostic/services-5pnpm dlx shadcn@latest add @gnostic/services-5Sticky sidebar
Keep the introduction beside the service cards as readers move down the section.
bunx --bun shadcn@latest add @gnostic/services-6npx shadcn@latest add @gnostic/services-6pnpm dlx shadcn@latest add @gnostic/services-6Featured grid
Give one service more space than the supporting offers.
bunx --bun shadcn@latest add @gnostic/services-7npx shadcn@latest add @gnostic/services-7pnpm dlx shadcn@latest add @gnostic/services-7Image list
bunx --bun shadcn@latest add @gnostic/services-image-listnpx shadcn@latest add @gnostic/services-image-listpnpm dlx shadcn@latest add @gnostic/services-image-listVisual service grid
Supply your own content. The section uses the selected project preset.
bunx --bun shadcn@latest add @gnostic/services-visual-gridnpx shadcn@latest add @gnostic/services-visual-gridpnpm dlx shadcn@latest add @gnostic/services-visual-gridcontentVisualServicesContent
Section content.
VisualServicesContentclass?string
Classes added to the root.
stringEditorial services
Use this section for the services part of a studio site.
bunx --bun shadcn@latest add @gnostic/services-illustrated-gridnpx shadcn@latest add @gnostic/services-illustrated-gridpnpm dlx shadcn@latest add @gnostic/services-illustrated-gridSee serif accent font setup when installing this section.
Editorial expertise
Use this section for the expertise part of a studio site.
bunx --bun shadcn@latest add @gnostic/experience-timelinenpx shadcn@latest add @gnostic/experience-timelinepnpm dlx shadcn@latest add @gnostic/experience-timelineSee serif accent font setup when installing this section.
Icon panels
bunx --bun shadcn@latest add @gnostic/services-icon-panelsnpx shadcn@latest add @gnostic/services-icon-panelspnpm dlx shadcn@latest add @gnostic/services-icon-panelsChoose 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 for the process, Reviews for evidence, and Contact for the enquiry.
Named slots
These slots are optional. Use the slot name on a direct child of the block.
services-visual-grid
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.
Astro content or slot function


