The best Astro portfolio template depends on what your work needs to show. For a free developer portfolio, Astro’s official portfolio starter and Astrofy are solid starting points. For a designed site with case studies, a services page and an enquiry form, a paid theme such as Cast & Render, Axure or Glass Studio gets you to launch faster. Every option below is a real Astro project you can clone, run with npm run dev and edit.
This list covers free and paid options fairly, explains what each is good at, and ends with a checklist for judging any Astro portfolio template before you commit.
Key Takeaways
- Free picks: Astro’s official
portfoliostarter for a clean minimal base, and Astrofy for a portfolio plus blog and CV in one.- Paid picks suit designers, studios and agencies that need case study pages, services and enquiry forms already built.
- Look for project pages driven by a content collection, optimized images with
astro:assetsand static output.- Check the licence if you build portfolios for clients.
- Preview every page of a theme before buying, not just the home page.
How we picked these Astro portfolio templates
A portfolio is a small site with high stakes: it has to load fast, show work at full quality and make contacting you easy. We judged each option on:
- Current Astro. Built for a recent major version with current APIs, so you are not upgrading on day one.
- Project pages that scale. Work items come from a content collection or data file, so adding a project means adding a file, not copying a page.
- Image handling. Responsive images through
astro:assets, because portfolios are image-heavy and Largest Contentful Paint usually comes down to the hero image. - The pages a portfolio needs. Work index, case study detail, about, services or process, and a contact or brief page.
- Static output. Deploys to any static host with no server.
- Licence clarity. Especially if you build sites for clients.
Free Astro portfolio templates
Astro’s official portfolio starter
Astro ships an official portfolio example you can scaffold with one command:
npm create astro@latest -- --template portfolio
It is minimal on purpose: a home page, a work index, project detail pages from a content collection and an about page. It is the best choice if you want to learn how a portfolio is structured in Astro, or if you plan to design the visuals yourself. Expect to add your own contact form and styling.
Astrofy
Astrofy is a free, open-source template for a personal portfolio that also includes a blog, a CV page, a projects list and a small store page. It uses Tailwind CSS with DaisyUI. It suits developers who want one site for their work, writing and résumé, and are happy with a dashboard-like layout with a sidebar.
The Astro themes directory
The official Astro themes directory lets you filter by the portfolio category and shows free and paid themes from many authors. Quality and Astro version vary between listings, so check the last update date and the Astro version in each theme’s package.json before you start.
Free templates are excellent when you have time to design. When the goal is a finished, polished site this week, a paid theme that already ships case study and contact layouts saves the most time.
Paid Astro portfolio themes
The Portfolio & Agency category is the largest in the Komal catalog, with over 1,000 Astro themes for designers, studios, freelancers and agencies. Every theme listed here is a complete Astro 7 project with TypeScript (most use Tailwind CSS), delivered as a private GitHub repository, with a live preview of every page. Here are a few that fit different kinds of portfolio.
Cast & Render: for studios whose work is the pitch
Cast & Render ($19) is built for a 3D, motion or rendering studio. A timed loading sequence runs into a reel-first hero, the work index presents case studies, the about page lays out a four-step pipeline, and a “Start a brief” page collects project enquiries. Pages: Home, Works, About, Journal and Start a brief. It is a good fit if you sell a process, not just a gallery.
Axure: for product and UX designers
Axure ($39) targets product and UX studios with a minimal look. It ships two portfolio layouts (a grid and a single project page), an Our Process page, a blog and an enquiry form. Choose it if you want case studies to read like design documentation, with space for process as well as outcomes.
Glass Studio: for designers who also sell
Glass Studio ($39) is aimed at product designers, studios and creative agencies. Beyond Projects, Services and Studio pages, it includes a Journal and a Shop page, which is useful if you sell templates, prints or presets alongside client work.
Aldo: for bold, visual portfolios
Aldo ($39) is built for designers and creatives who want striking animation and a modern edge. It ships a set of individual work pages, each laid out as a case study, plus home and contact pages. Pick it when visuals carry the story and you have strong imagery for every project.
Alex Gregor: for freelancers who sell services
Alex Gregor ($39) combines a portfolio with the pages a freelance business needs: Works, Service, Pricing, Blog, About and Contact. It suits a designer or small studio that wants visitors to understand what you offer and what it costs, not just what you have made.
Createnix: for minimal studio portfolios
Createnix ($39) is a minimal agency portfolio with clean lines and little decoration, so the work carries the page. It includes a projects index and several project detail pages. It fits studios that prefer white space and restraint.
Allex: for a personal portfolio and CV
If your portfolio is really a personal site, Allex ($39) has CV, case study and bookmark pages plus several home page variations. It sits in the much smaller Personal category, which has only a few themes, so the portfolio category is the place to browse for more visual range.
Free vs paid: which should you use?
| Free starter or template | Paid theme | |
|---|---|---|
| Cost | Nothing | One-time price |
| Design | Minimal or generic, you style it | Finished, niche-specific design |
| Case study pages | Basic or none | Usually included |
| Contact or brief form | Usually yours to add | Usually included as a layout |
| Time to launch | Days to weeks, depending on design work | Hours to a few days |
| Best for | Developers, learners, people who enjoy designing | Designers, studios and freelancers who need to launch |
If you enjoy building, start free. If your time is better spent on client work, a paid theme is usually cheaper than the hours it replaces. Our theme vs starter guide goes deeper into that trade-off.
What every Astro portfolio template should get right
Whichever template you choose, check these before you commit:
Projects come from a collection. You should add a project by adding one Markdown or MDX file. Look for a schema like this in src/content.config.ts:
// src/content.config.ts
import { defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';
import { z } from 'astro/zod';
const work = defineCollection({
loader: glob({ pattern: '**/*.{md,mdx}', base: './src/content/work' }),
schema: ({ image }) =>
z.object({
title: z.string(),
client: z.string().optional(),
year: z.number(),
cover: image(),
tags: z.array(z.string()).default([]),
featured: z.boolean().default(false),
}),
});
export const collections = { work };
Images are optimized. Project covers should render through <Image /> or <Picture /> from astro:assets, with widths and sizes so phones do not download desktop-sized files:
---
// src/components/ProjectCard.astro
import { Image } from 'astro:assets';
const { project } = Astro.props;
---
<a href={`/work/${project.id}/`}>
<Image
src={project.data.cover}
alt={project.data.title}
widths={[400, 800, 1200]}
sizes="(min-width: 1024px) 33vw, 100vw"
/>
<h3>{project.data.title}</h3>
</a>
JavaScript is opt-in. Animations should use CSS or small scripts, and interactive pieces should be islands with a client:* directive. A portfolio that hydrates a full framework for a hover effect will feel slow on mobile.
Contact actually works. A static portfolio needs a form service or an on-demand route to receive enquiries. Check how the template handles it, or plan to wire one up.
The licence fits. If you build portfolios for clients, make sure the licence covers client work. Komal themes include a commercial licence for unlimited sites for yourself or paying clients; see the licensing docs.
Getting a portfolio theme live
Most Astro portfolio templates follow the same path from download to launch:
- Clone the repository and run
npm installthennpm run dev. - Replace the site name, colors and fonts in the theme’s config or CSS variables.
- Delete the sample projects and add your own as files in the work collection.
- Swap images for your own, keeping them in
src/assets/or next to each project file. - Connect the contact form to a form service.
- Deploy to Cloudflare Pages, Netlify or Vercel. The deploy guide covers each host.
For a wider view across every site type, see the best Astro themes overview.
FAQ
Is Astro good for portfolio websites?
Yes. Astro is one of the best fits for portfolios, because pages are static HTML with no JavaScript by default, images are optimized at build time, and projects can live as Markdown files in a content collection. The result is fast to load and easy to update.
Are there free Astro portfolio templates?
Yes. Astro’s official portfolio starter (npm create astro@latest -- --template portfolio) and Astrofy are free and open source. The Astro themes directory at astro.build/themes also lists many free portfolio themes from community authors.
How do I add projects to an Astro portfolio template?
In most templates, each project is a Markdown or MDX file in a content collection folder such as src/content/work/. Copy an existing project file, change its frontmatter (title, year, cover image) and body, and the work index and detail page update on the next build.
Can I use an Astro portfolio theme for client work?
That depends on the licence. Open-source themes usually allow it under their stated licence, such as MIT. Paid themes vary, so read the terms. Komal themes include a commercial licence for unlimited client sites but do not allow reselling the theme itself.
Where can I host an Astro portfolio for free?
Cloudflare Pages, Netlify, Vercel and GitHub Pages all host static Astro sites on free tiers, with HTTPS and custom domain support. Build with npm run build and deploy the dist/ folder, or connect the Git repository for automatic deploys.