Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal Astro starter template with React, Tailwind CSS v4, Framer Motion animations, MDX, and Sass.
Astro Base is a minimal, open-source starter template for building fast websites with the Astro static-site generator, React 19, Tailwind CSS v4, and Framer Motion.
Astro Base is a landing-page oriented starter template built on Astro 5.16.6 that combines React 19.2.3 components, Tailwind CSS v4, MDX, Sass, and Tabler icons in a single repository. It takes the Astro framework and pre-configures the most common integrations — @astrojs/react, @astrojs/mdx, astro-icon, and the Tailwind Vite plugin — so you can scaffold a site and immediately start writing pages. The template is published on GitHub at jonnysmillie/astro-base and is licensed under the MIT License.
Astro Base ships with a preconfigured stack that covers static generation, React components, styling, animation, and content authoring.
Astro Base is best for developers and teams who want a small, learnable codebase with popular integrations already wired up.
The template's included pages and components make it practical for several concrete projects.
Setting up Astro Base requires three commands; after that, the file-based routing and component structure define how pages are assembled.
Clone the repository, run npm install, and run npm run dev to open the development server at localhost:4321. Production builds are generated with npm run build and output to ./dist, and npm run preview serves the built site locally. The project structure separates reusable components in src/components, routes in src/pages, and global styles in src/styles/global.css with Tailwind imports.
Astro Base requires Node.js 18 or newer and a package manager such as npm, pnpm, or yarn. The project includes an astro.config.mjs that wires up the React, MDX, and icon integrations, and a tailwind.config.mjs that adds the Typography plugin.
Yes, Astro Base is open source and released under the MIT License, so you can use, modify, and redistribute it for commercial and personal projects.
Icons are provided through the astro-icon component using the Tabler icon set. Import the Icon component from astro-icon/components and reference an icon such as tabler:heart, or browse the full set at tabler.io/icons.
Sass is preinstalled and enabled by adding lang="scss" to any component style block. A complete example lives in src/components/SassExample.astro.
The template defines five commands: npm run dev starts the local dev server, npm run build creates the production site in ./dist, npm run preview previews the build, npm run astro runs the Astro CLI, and npm install installs dependencies.
