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

Tailwind + Vite format

Reference for the Briks Tailwind + Vite format: package versions, file layout, behaviours, commands, the dist build and static hosting.

Updated 26 November 2026

You can look up the versions, files and commands of the Tailwind + Vite format here. Every one of the 122 templates comes as a complete Vite 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.

  • Vite 8.3.8
  • @tailwindcss/vite and Tailwind CSS 4.3.5
  • GSAP and Three.js from npm, only in templates that use them
  • Node.js 24 or newer

Files

  • One HTML file for each page at the project root, named after its address: index.html, about.html, stories.html. Nested addresses join with a hyphen, as in stories-before-the-paint-in-kumartuli.html. There is also 404.html. Each page loads /src/main.js.
  • src/main.js imports src/styles.css and starts the behaviours.
  • src/styles.css is the Tailwind source, with the colour tokens and dark mode.
  • src/behaviours/ 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. Vite serves it from the site root.
  • vite.config.js finds every .html page, so a new page needs no config change.

Links between pages use the file names, such as about.html. A link to a section of another page looks like index.html#contact. Scripts that build a link use window.pageHref("/about/"), which returns about.html.

To add a page, copy the closest page file, rename it, for example to pricing.html, change its words and link to it by that name.

Commands

  • npm install installs the packages.
  • npm run dev starts the dev server. Vite prints the address, by default http://localhost:5173.
  • npm run build writes the site to dist/.
  • npm run preview serves dist/ so you can check the build.

Forms

Each form has a data-form-endpoint attribute. Set it to the address of your form service. See Forms. The submit code is in src/behaviours/form.js.

Static hosting

Upload dist/ to any static host. See Deploy a static site. For a site served from a sub-folder, such as a GitHub Pages project site, set base in vite.config.js to "/repo-name/". Many hosts can also serve about.html at /about. Cloudflare Pages does this by itself, and Netlify has a "pretty URLs" setting. Before you launch, replace https://example.com in public/sitemap.xml, public/robots.txt, public/llms.txt and the canonical tags with your address. These addresses name the files, for example https://example.com/about.html.

Other formats

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

Next · 06 FormatsNext.js formatReference for the Briks Next.js format: package versions, commands, static export and the Node server build for feature templates.

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