Astro · Tailwind CSS · Magic UI

An Astro Landing Page Template Built for Creative Studios

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.

17Pages
8Case studies
5Home variants
2Themes
About Forma

An Astro & Tailwind CSS Template Built Around Creative Studios

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.

Use cases

One Template, Many Studios

Start from the home variant that fits, then replace the copy and tokens.

Design & branding studio

A portfolio-first home page with case studies, services and a client-logo marquee already wired together.

Product & web dev shop

Services, process and a filterable work index for a studio that ships code as well as design.

Growth & marketing agency

Stats, testimonials and a contact form built to qualify a lead's budget up front.

Freelance portfolio

A single, confident home page plus a journal to write about the work.

Agency client project

Tokens in one file make re-branding for a client a matter of minutes.

Case-study hub

Reuse the layout, typography and components for a documentation or resource site.

All included pages

Every Page a Studio Needs

Click any card to open the page in a new tab. They are real pages, not screenshots.

Features

Built Around How Studios Pitch and Ship

The template demonstrates a full agency story, from first contact to case study.

Brand identity

Positioning, naming and visual systems, presented as a service card and in the portfolio.

Web design & build

Marketing sites and product front-ends, framed as one offering from design to production code.

Product design

Research, flows and interfaces for teams building something new.

Growth marketing

Landing pages and campaigns, measured against revenue, not vanity metrics.

Filterable case studies

Eight real projects, filtered by category client-side with no page reload.

Animated stats

Projects shipped, clients served and retention, counted up on scroll with Magic UI.

MDX journal

Write posts in Markdown with components; a grid layout and a sidebar layout are both included.

Validated contact form

Zod schema, honeypot spam trap, and a PHP handler that emails the submission.

Client-logo marquee

An infinite-scrolling row built with Magic UI's marquee component.

Components

Real Components, Not Mockups

Everything here works out of the box and is documented.

Contact form with PHP

A vanilla script validated with Zod, posted to contact.php, which emails your inbox.

Bento grid

Magic UI bento layout used for the services and feature sections.

Dark and light mode

One set of colour variables. Dark by default, and remembers the visitor's choice.

Number ticker

Stats count up when scrolled into view, built with Magic UI.

Portfolio filter

Client-side category filter on the Work index, a vanilla script.

Scroll experience

Fade-in on scroll and a cursor-tracking spotlight on every card.

Unstyled form kit

Button, Badge, TextField, SelectField, TextareaField, FormStatus and more.

Mobile drawer

Right-hand drawer menu with grouped navigation and a close button.

Customise

Make It Yours in Minutes

Pick a topic to see how little you need to change.

Change the brand colour once

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;
}
Why Forma

Built to Save You Weeks of Front-End Work

17

Ready pages

Five home variants, two About layouts, Services, Work, Journal, Contact and more.

1

Place for design tokens

Colours, shadows, radius and breakpoints live in one file.

0

Browser runtime for Tailwind

Compiled at build time, so there is no CDN script on the page.

100%

Responsive

Fluid from phones to wide desktops, with a mobile drawer menu.

Tech stack

Powered by the Best in the Ecosystem

Small, well-maintained tools, each with one clear job.

Astro 7Static site build
Tailwind CSS 4Utility styling
No UI frameworkPlain Astro components, no React
MotionScroll and entrance animation
Magic UIBento grid, marquee, number ticker
ZodForm validation
PHP 8+Contact form handler
@astrojs/mdxJournal and case-study content
@astrojs/sitemapSitemap generation
FontsourceOutfit, Inter
boxiconsIcon set
npmEvery library from package.json
CLAUDE.md + AGENTS.mdAI-ready project guide
FAQ

Frequently Asked Questions

What is included in the template?

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.

Do I need Node.js?

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.

Does the contact form work out of the box?

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.

How do I change the colours and fonts?

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.

Is it search-engine friendly?

Yes. Every page has its own title, description and canonical URL, Open Graph tags, and a sitemap generated by @astrojs/sitemap.

Can I use it for a client project?

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.

Does it work with AI coding assistants?

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.

Start Your Studio Site Today

Get the template, follow the documentation and have your first page running in minutes.