Design & branding studio
A portfolio-first home page with case studies, services and a client-logo marquee already wired together.
Forma is one of our best Astro templates for agencies: a design-led Astro portfolio template built with Astro 7 and Tailwind CSS 4, no React or any other UI framework. It ships with seventeen polished pages, a validated PHP-backed contact form and a static build that is ready for production.
Use it as a studio site, a freelance portfolio or the public face of your next client project. Every colour, size and gap comes from one set of design tokens.

Forma is a ground-up rebuild rather than a re-skin: a new "Digital Violet" colour system, a new codebase and layout, built to show how a modern agency site should feel — calm, confident, and fast.
It is built with Astro and Tailwind CSS 4 only — no React, no other UI framework. The contact form and the portfolio filter are small vanilla scripts that attach on page load; everything else ships as plain static HTML. Light and dark themes, scroll-reveal, tabs and a Magic UI marquee are already included.
Every card on this page is a real piece of the template. Open any page below in a new tab to see it working, then read the documentation to make it yours.
Start from the home variant that fits, then replace the copy and tokens.
A portfolio-first home page with case studies, services and a client-logo marquee already wired together.
Services, process and a filterable work index for a studio that ships code as well as design.
Stats, testimonials and a contact form built to qualify a lead's budget up front.
A single, confident home page plus a journal to write about the work.
Tokens in one file make re-branding for a client a matter of minutes.
Reuse the layout, typography and components for a documentation or resource site.
Click any card to open the page in a new tab. They are real pages, not screenshots.
The template demonstrates a full agency story, from first contact to case study.
Positioning, naming and visual systems, presented as a service card and in the portfolio.
Marketing sites and product front-ends, framed as one offering from design to production code.
Research, flows and interfaces for teams building something new.
Landing pages and campaigns, measured against revenue, not vanity metrics.
Eight real projects, filtered by category client-side with no page reload.
Projects shipped, clients served and retention, counted up on scroll with Magic UI.
Write posts in Markdown with components; a grid layout and a sidebar layout are both included.
Zod schema, honeypot spam trap, and a PHP handler that emails the submission.
An infinite-scrolling row built with Magic UI's marquee component.
Everything here works out of the box and is documented.
A vanilla script validated with Zod, posted to contact.php, which emails your inbox.
Magic UI bento layout used for the services and feature sections.
One set of colour variables. Dark by default, and remembers the visitor's choice.
Stats count up when scrolled into view, built with Magic UI.
Client-side category filter on the Work index, a vanilla script.
Fade-in on scroll and a cursor-tracking spotlight on every card.
Button, Badge, TextField, SelectField, TextareaField, FormStatus and more.
Right-hand drawer menu with grouped navigation and a close button.
Pick a topic to see how little you need to change.
Every colour is a --forma-* custom property. Edit one line and buttons, links, focus rings and dark mode all follow.
/* tokens.css */
:root {
--forma-primary: #7c5cff;
--forma-accent: #ff7ad1;
}Fonts are Fontsource npm packages mapped in the @theme inline block. Headings stay on one fixed scale from h1 to h4.
/* tokens.css */
@theme inline {
--font-display: 'Outfit', sans-serif;
--font-sans: 'Inter', sans-serif;
}Margins and gaps use a fixed pixel scale (5, 10, 15, 20, 25, 30 …) written as arbitrary Tailwind values, so the rhythm stays consistent everywhere.
<div class="mb-[30px]">…</div>Dark mode swaps the colour variables. Dark is the default; the visitor's choice to go light is saved and restored instantly.
:root[data-theme='light'] {
--forma-page-bg: #f7f7fb;
--forma-heading-color: #0b0b14;
}Five home variants, two About layouts, Services, Work, Journal, Contact and more.
Colours, shadows, radius and breakpoints live in one file.
Compiled at build time, so there is no CDN script on the page.
Fluid from phones to wide desktops, with a mobile drawer menu.
Small, well-maintained tools, each with one clear job.
Seventeen HTML pages across five home variants, shared components, a contact form with a PHP handler, dark and light mode, three Magic UI effects and an Astro static build. The documentation covers every part.
Yes, to build it. Run npm install and npm run dev; Node 18 or newer is required. The built dist/ folder is plain HTML, CSS and JavaScript.
Set the recipient in contact.php and host the build on a server that runs PHP and can send mail. On a static-only host the form shows a friendly error.
Colours are CSS custom properties at the top of tokens.css; fonts are Fontsource packages from npm. Dark mode, which is the default, updates automatically.
Yes. Every page has its own title, description and canonical URL, Open Graph tags, and a sitemap generated by @astrojs/sitemap.
Yes. Re-brand it through the tokens in src/lib/site.ts and tokens.css, replace the copy and images listed in IMAGE-ASSETS.md, and deploy the dist/ folder.
Yes. The project root includes CLAUDE.md and AGENTS.md with the stack, exact commands, folder structure, customisation tasks and do-not rules, so tools such as Claude Code, Cursor, Codex and Copilot work with the template out of the box.
Get the template, follow the documentation and have your first page running in minutes.