This Boilerplate will be updated with new features and improvements.
If you want us to change or add something, please contact us on our Discord Server
Have fun!
A modern, performance-driven starter template integrating Astro with React, designed for static site generation with dynamic UI components. This template ensures a seamless developer experience while optimizing for speed and SEO.
To maintain clarity and scalability, we organize the project using a libs system. This ensures reusability and a modular architecture.
āāā src/
ā āāā layouts/ # Base layouts such as the **MainLayout** and **SEO meta configurations**.
ā āāā libs/
ā ā āāā ui/ # All components, blocks, modules - whole structure of the reusable elements that you can use in your project.
ā āāā pages/ # Astro pages (each file maps to a route)
ā āāā static/ # All static assets - images, icons, fonts, etc.
āāā public/ # Public assets (served as-is)
āāā astro.config.mjs # Astro configuration
āāā tailwind.config.js # Tailwind configuration
āāā tsconfig.json # TypeScript configuration
Astro.build is a modern front-end framework that allows you to build faster, optimized websites. It's compatible with React, which is a popular library for building user interfaces.
Tailwind -A utility-first approach ensures rapid UI development without writing excessive custom CSS.
Fonts - setup there you'r all fonts - you don't want to get link to google - this can slow down you'r page, but if you needed, you can delete it and use google tags
images - Images are setup with typescript, so this component is easy to use & when you import image there you don't need to worry about use import for every single image
@example
<Image src="logo" alt="logo" width="50px" height="50px" />
You can use your own icons or use Lucide React icons - its up to you
@example
<Icon name="icon" />
ā ļø Search for ā ļø siteUrl & change website main link to load properly all preview images & ect
also you can check if there is any CHANGEME or YOUR META DESCRIPTION FOR SEO - if yes, then you want to change it
Sitemap is generated automatically from astro.config file.
Astro.config.mjs There you can find example usage of sitemap, we add comments with if statements for various scenario, so check it & use it as you like!
Robots - Also its generated automatically.
/src/layouts
Houses base layouts such as the MainLayout and SEO meta configurations.
/src/ui
All components, blocks, modules - whole structure of the reusable elements that you can use in your project.
/src/pages
Astro pages that automatically generate routes without the need for additional configurations.
/src/libs/static
All static assets - images, icons, fonts, etc.
also images and icons are setup with typescript (examples you can find in above section)
Command | npm Command | yarn Command | Action |
---|---|---|---|
npm install |
npm install |
yarn install |
Installs dependencies |
npm run dev |
npm run dev |
yarn dev |
Starts local dev server at localhost:4321 |
npm run build |
npm run build |
yarn build |
Build your production site to ./dist/ |
npm run preview |
npm run preview |
yarn preview |
Preview your build locally, before deploying |
npm run astro ... |
npm run astro ... |
yarn astro ... |
Run CLI commands like astro add , astro check |
npm run astro -- --help |
npm run astro -- --help |
yarn astro -- --help |
Get help using the Astro CLI |
@contact - for any questions or support
also if you want to fast contact with us, you can use our Discord Server