v1.0.0Version 1.0: 122 business website templates in Tailwind HTML, Tailwind + Vite, Next.js, React, Astro, Vue, Nuxt, SvelteKit and Laravel.

Docs/06 Formats

Astro format

Reference for the Briks Astro format: package versions, file layout, pages, components, behaviours, commands, the dist build and static hosting.

Updated 23 November 2026

You can look up the versions, files and commands of the Astro format here. Every one of the 122 templates comes as a complete Astro project. The 7 templates with accounts and a database are design only in this format: their sign-in, account, admin and record pages are designed pages with no server, API or database behind them. The working version is the Next.js format.

Versions

Checked on 23 November 2026.

  • Astro 7.4.13
  • Tailwind CSS 4.3.5 through @tailwindcss/vite, set in astro.config.mjs
  • GSAP and Three.js from npm, only in templates that use them
  • Node.js 24 or newer

Files

  • src/pages/ has one .astro file per page: index.astro, about.astro and so on, plus 404.astro. Each page puts its own head tags (title, description, canonical, social cards and structured data) in <Fragment slot="head">, and its sections as content.
  • src/layouts/Base.astro holds the <html> element, the head tags every page shares, the stylesheet and the behaviours.
  • src/components/ has one <Name>.astro file for each section shown the same on more than one page, such as the header and the footer. A change there reaches every page that uses it. A section used on one page only is written in that page.
  • src/styles/global.css is the Tailwind source, with the colour tokens, dark mode and the @font-face rules.
  • src/scripts/main.js imports and starts the behaviours in src/scripts/behaviours/. That folder has one file per behaviour: menus, accordions, sliders, motion and forms. To add one, export a function from a new file and call it in main.js.
  • public/ holds images, videos, fonts, robots.txt, sitemap.xml and llms.txt. Astro serves it from the site root.
  • astro.config.mjs sets site from SITE_URL and trailingSlash to always, so each page is built as <page>/index.html.

In .astro markup, curly braces are expressions. Write a literal brace in text as &#123; or &#125;, and give inline <script> and <style> tags the is:inline attribute so Astro leaves them as they are.

Commands

  • npm install installs the packages.
  • npm run dev starts the Astro dev server, by default at http://localhost:4321.
  • npm run build writes the site to dist/.
  • npm run preview serves dist/ so you can check the build.
  • npm run check runs astro check.

The header and the footer are components, so you edit each one once. To add a page, create src/pages/<name>.astro with the Base layout and the shared components, add it to the navigation in src/components/Header.astro (and to the footer if it is listed there), and add its address to public/sitemap.xml.

Forms

Each form has a data-form-endpoint attribute. Set it to the address of your form service on every form. Search for data-form-endpoint="" to find them. See Forms. The submit code is in src/scripts/behaviours/form.js.

Static hosting

Run npm run build and upload dist/ to any static host. See Deploy a static site. Before you launch, replace https://example.com in public/sitemap.xml, public/robots.txt and the canonical and og:url tags with your address, or set SITE_URL for the addresses Astro builds itself. For a site served from a sub-folder, such as a GitHub Pages project site, set base in astro.config.mjs to "/repo-name/".

Other formats

The package also includes Tailwind HTML, Tailwind + Vite, Next.js, React + Vite and Vue + Vite.

Next · 06 FormatsVue + Vite formatReference for the Briks Vue + Vite format: package versions, file layout, routes, commands, the prerendered dist build and static hosting.

Your next client site is mostly built.

122 websites, $79 once, for every site you build. New templates and updates are free for life.

Works with any AI agent

  • Claude
  • Claude Code
  • OpenAI
  • Codex
  • Grok
  • Grok Bot
  • OpenClaw
  • Hermes Agent
  • Gemini
  • Antigravity
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Cline
  • Kiro
  • Junie
  • Replit
  • v0
  • Ollama

+ any agent that reads AGENTS.md