Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Astro 6 starter for government service sites with USWDS 3.x, Section 508/WCAG 2.1 AA, English/Spanish i18n, Pagefind search, and CI gates.

Next.js boilerplate using Firebase Realtime Database, Firestore and Firebase Auth, styled with Chakra UI.

Sample dashboard web application using static json data. Built with Next.js.

Simple forum UI template built with Bulma CSS, offering a clean HTML5 interface for discussion boards.

Learn how to load custom web fonts without compromising performance.

Next.js template for building AI coding agents that run Claude Code, Codex, Copilot, Cursor, Gemini, and opencode in Vercel Sandboxes.

A Gatsby + ButterCMS starter boilerplate with blog, pages, and content collection integration.
astro-gov-starter is an Astro 6 boilerplate for government service websites, combining the U.S. Web Design System (USWDS 3.x), Section 508 / WCAG 2.1 AA accessibility defaults, English/Spanish internationalization, and CI quality gates in one static-site template.
astro-gov-starter is a production-ready Astro 6 starter template created by ctrimm for government service sites. It takes an agency name, domain, and seven USA Identifier footer links as configuration in src/config/site.ts, and outputs a fully static site to dist/ with zero client-side JavaScript. The template uses USWDS 3.x via SCSS, 20 Astro component wrappers around USWDS patterns, and content collections for services, announcements, and FAQs.
src/components/uswds/./internal/components/.[...lang] dynamic route and renders for both / and /es/; adding French requires editing astro.config.mjs, adding a fr.json translation file, and updating each page's copy object./search/ and /es/search/; the index is generated after pnpm build and Pagefind splits it by each page's language.bash scripts/check.sh runs TypeScript, HTML validation, plain-language readability (Flesch-Kincaid grade ≤ 8), and USWDS compliance checks; CI also adds axe-core, Lighthouse, and linkinator.federalist.json, Netlify, Vercel, S3, CloudFront, or Azure Blob.node scripts/init-agency.mjs to set your agency name, domain, and identifier links, replace the seed content in src/content/, and deploy the static dist/ folder.You start from the "Use this template" button, install with pnpm install, and run node scripts/init-agency.mjs to update src/config/site.ts with agency details and the seven USA Identifier links. After replacing seed markdown content, pnpm build produces dist/ and indexes it with Pagefind. The included scripts/check.sh runs all local quality gates before you push.
No. The contact form and eligibility screeners are accessible scaffolding only. You must wire the action attributes to a backend such as Formspree or your agency's form service before launch.
No. Pagefind search works only in a production build (pnpm build && pnpm preview); the dev server has no index. The CSP includes 'wasm-unsafe-eval' because Pagefind runs as WebAssembly, but this does not enable JavaScript eval().
Yes. Every page renders for each locale in the locales array. To add French, update astro.config.mjs, create src/i18n/fr.json, add fr to the Locale type and localeMeta, and add translated copy to each page's copy object.
No. GitHub Pages ignores custom HTTP response headers, so the _headers file with X-Frame-Options, HSTS, and clickjacking protection only works on Netlify, Cloudflare Pages, or a CDN in front of Pages. The README advises using a host with header support for production government sites.
The code is MIT, and the seed content is CC0 — no rights reserved, free to adapt for any agency.
