Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Astro SaaS landing page template with single-file config, dark/light mode, and zero JS frameworks.
Astrolify is an Astro-powered SaaS landing page template that centralizes all page content in a single TypeScript config file and ships with dark/light mode, a scroll-snap slider, and zero JavaScript frameworks beyond vanilla TS. It's built for developers who want a fast, type-safe marketing page without assembling components from scratch.
Astrolify is a single-page SaaS landing template built with Astro, the static-first framework with island architecture. It takes your brand, navigation, hero, stats, features, pricing, testimonials, FAQ, and footer content from src/config/site.config.ts and renders them as a production-ready HTML site with no runtime framework needed. The template is released under the MIT license.
src/config/site.config.ts, so you can restyle the whole page without touching a single component.--ac-* token names), with no Tailwind CSS dependency.prefers-color-scheme and includes a header toggle; an inline script applies the theme before first paint to avoid flash.--ac-* CSS variables, then toggle dark/light mode to see the result.Install dependencies with npm install, then run npm run dev to start the dev server at localhost:4321. Edit src/config/site.config.ts to update the page content; the change appears immediately due to Astro's hot reload. For production, run npm run build to type-check and output static files to ./dist, then preview with npm run preview.
Yes, Astrolify is released under the MIT license, so you can use it for free in personal and commercial projects without paying a fee or providing attribution.
No. Astrolify uses Astro and vanilla TypeScript for interactions. If you know HTML, CSS, and a bit of TypeScript, you can edit the config file and run the template.
Open src/config/site.config.ts. This file contains the brand, navigation, hero, stats, logo cloud, features, pricing, testimonials, FAQ, and footer data. Edit the exported object and save; the page updates automatically.
Yes. By default the page follows the operating system's color scheme via prefers-color-scheme. Users can override it with the theme toggle in the header, and the choice persists because the theme is applied synchronously in the head to avoid flash.
