Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Free Astro 5 starter template with Tailwind CSS 4, DaisyUI, Pagefind search, and multi-platform deployment.
Astro Starter Theme is a free, MIT-licensed boilerplate for building static websites with Astro 5, Tailwind CSS 4, and the DaisyUI component library, producing a deploy-ready site with blog, contact, and SEO features.
Astro Starter Theme is a pre-configured project template that takes Markdown and MDX content in the src/data/blog directory plus metadata in src/consts.ts and outputs a static site into ./dist with sitemap, RSS feed, and Pagefind search index. It runs on Astro 5 and is maintained by the GitHub user mnyorba. The template includes documentation, GitHub Actions CI/CD, and one-click deployment buttons for Netlify and Vercel.
docs/contact-form.md..md or .mdx files with frontmatter validation, categories, tags, auto-generated table of contents, and pagination..md or .mdx files to the src/data/blog collection.Create a new project with npm create astro@latest -- --template mnyorba/astro-starter, then install dependencies and run npm run dev. Configuration happens in three places: site metadata in src/consts.ts, contact data in src/data/contacts.json, and navigation in src/components/navigation/NavbarMenuItems.astro. The build command outputs a production-ready static site to ./dist.
The template includes pre-configured deployment for GitHub Pages via a GitHub Actions workflow (set the base path to your repository name). One-click deploy buttons are available for Netlify and Vercel, and the documentation covers Cloudflare Pages, AWS Amplify, Railway, DigitalOcean App Platform, and custom VPS setups.
Yes, it is open source under the MIT license and free to use for personal or commercial projects. The repository includes the full license file.
The template uses Astro 5 and Tailwind CSS 4, with DaisyUI as the component library. This is stated on the project page and in the repository metadata.
Pagefind is already integrated. During npm run build, a static search index is generated inside the dist folder, and you must deploy that folder along with the rest of the site for search to work.
The template supports Formspree (recommended for static sites), Netlify Forms, EmailJS for client-side sending, and custom server-side processing with validation. Setup instructions are provided in the documentation.
Yes, there is a pre-configured GitHub Actions workflow. You need to set the base path in src/consts.ts to your repository name, enable Pages with GitHub Actions as the source, and push to the main branch.
Yes, Google Analytics and Google Tag Manager can be added and are loaded via Partytown so they do not block rendering.
