An opinionated Astro starter template setup with Tailwind CSS, React, Shadcn, and Tailwind-motion, along with built-in utilities. Live deployment Repo: Github Repo
Create a new project using:
bun create bunestro@latest my-appOr with npm:
npm create bunestro@latest my-app# Interactive mode (recommended for first time)
bun create bunestro@latest my-app
# Skip all prompts, use defaults
bun create bunestro@latest my-app -y
# Open in editor after creation
bun create bunestro@latest my-app --cursor
bun create bunestro@latest my-app --vscode
# Skip dependency installation
bun create bunestro@latest my-app --no-install
# Combine options
bun create bunestro@latest my-app -y --cursorRun with --help flag to see all available options:
bun create bunestro@latest --helpRequires
bunornodejsinstalled and up to date
Go to the root folder where package.json exists.
Skip this if you used
bun create bunestrowith dependency installation (default)
# Using bun
bun install
# Using npm
npm install# or
bun run dev
# Using npm
npm run devbun is not officially supported by astro, so if you ran into any problems, try using
npmto see if it works before creating an github issue.
| Command | Action |
|---|---|
bun run dev |
Starts local dev server at localhost:4321 |
bun run build |
Build your production site to ./dist/ |
bun run preview |
Preview your build locally, before deploying |
bun run astro ... |
Run CLI commands like astro add, astro check |
bun run astro -- --help |
Get help using the Astro CLI |
just replace
bunwithnpmif you're using npm
- Astro 6
- Tailwind CSS v4
- React Integration
- Shadcn components
- Custom utility components
- Theme support (dark and light mode)
- Tailwind CSS animations using tailwindcss-motion
- SEO optimized (SEO component provided)
- Responsive optimized img loader component
- Share modal
- Utilities like
qrCode gen, string shortner, uniqueCode gen, img placeholder, email validation, hashing etc
- Data
src/lib/data/* - Configure colors in
src/styles/globals.css - Configure default metadata and title
src/lib/data/siteData.ts - Types
src/types/
- Add theme support
- Add basic Shadcn components
- Add static img optimization component
- Add sample responsive components
- Add state management examples
- Website: ardastroid.com
- Email: hello@ardastroid.com
- GitHub: @ardzero
MIT License
Copyright (c) 2026 Ard Astroid / Farhan Ashhab Nur
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
