# Astro with Sanity

import DocButton from '~/components/webkit/DocButton.vue';
import SectionBasicContent from '~/components/SectionBasicContent/SectionBasicContent.vue';
import Container from '~/components/webkit/Container.vue';

<SectionBasicContent
  description="The Clean Astro + Sanity application template creates a minimal Astro website integrated with Sanity.io for content management. This template provides a streamlined setup for building content-rich websites with a powerful headless CMS."
  buttons={[
    { label: "Deploy template", link: "https://console.azion.com/create/sanity/clean-astro-sanity-app", outlined: false, icon: "ai ai-azion", iconPos: "left" },
    { label: "View demo", link: "https://r3l8ggsruy.map.azionedge.net/" , severity: "secondary" }
  ]}
>
  <Fragment slot="content">
    <div style="flex: 1; min-width: 300px;">
      | Item | Details |
      |:----------|:------|
      | Repository | [Azion Samples](https://github.com/aziontech/azion-samples/tree/dev/templates/astro/sanity-astro-clean) |
      | Framework | [Astro](/en/documentation/products/devtools/azion-edge-runtime/frameworks-compatibility/astro/) |
      | Use Case | General |
    </div>
    <div style="display: flex; justify-content: center; align-items: center; flex: 1;">
      <img src="/assets/docs/images/uploads/template-showcase/astro/astro-sanity.png" width="400" alt="Astro with Sanity" style="min-width: 100%; max-width: 100%; height: auto;" />
    </div>
  </Fragment>
</SectionBasicContent>

## About this template

This template pairs [Astro](/en/documentation/products/devtools/azion-edge-runtime/frameworks-compatibility/astro/) with [Sanity](https://www.sanity.io/), a headless CMS, to power a clean, content-driven website. Editors manage structured content in Sanity Studio while Astro renders fast, mostly static pages, keeping the front end lightweight. Hosted on Azion, the site is delivered via a distributed architecture so visitors anywhere get low-latency responses.

## Key features

- Astro front end integrated with the Sanity.io headless CMS for structured content.
- Minimal, ready-to-extend layout that keeps the codebase easy to maintain.
- Content fetched at build time for fast, cacheable static pages.
- One-click deployment to Azion's globally distributed global network.