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/viteand 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 instories-before-the-paint-in-kumartuli.html. There is also404.html. Each page loads/src/main.js. src/main.jsimportssrc/styles.cssand starts the behaviours.src/styles.cssis 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 inmain.js.public/holds images, videos, fonts,robots.txt,sitemap.xmlandllms.txt. Vite serves it from the site root.vite.config.jsfinds every.htmlpage, 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 installinstalls the packages.npm run devstarts the dev server. Vite prints the address, by defaulthttp://localhost:5173.npm run buildwrites the site todist/.npm run previewservesdist/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.
