The best Astro UI kit depends on what you mean by “UI kit”. If you want reusable buttons, cards and dialogs, a component library such as Starwind UI, daisyUI or shadcn/ui is the answer. If you want ready-made page sections (heroes, pricing tables, feature grids, footers) and full page layouts to assemble a site from, a UI kit template gives you those as Astro components you own and edit.
We sell Astro themes, including several built as UI kits, so read the paid picks with that in mind. This guide separates the two meanings, covers the free options for each, shows a section-based page pattern that turns any kit into a page builder you control, and lists the UI kit templates in our catalog.
Key Takeaways
- Component libraries give you primitives; UI kit templates give you finished sections and pages built from them.
- Free component libraries cover most needs: daisyUI and Pico CSS (CSS only), Starwind UI (Astro components), shadcn/ui (React islands).
- A section kit pays off when you build many similar marketing pages and want them consistent.
- Drive pages from a list of sections in frontmatter so editors can reorder blocks without touching components.
- 36 themes in our catalog describe themselves as UI kits, spread across Technology, Portfolio & Agency, Retail and Blog categories.
Two kinds of Astro UI kit
| Component library | UI kit template | |
|---|---|---|
| What you get | Buttons, inputs, cards, dialogs, tabs | Heroes, pricing, features, testimonials, footers, full pages |
| How you install | npm package or copy-in CLI | Clone or download a full Astro project |
| Design | Neutral, you style it | Opinionated, finished look |
| Best for | Apps, custom designs, design systems | Marketing sites, agencies building many sites |
| Free options | Many | Few |
Most real projects use both: a small set of primitives and a library of sections built from them. A UI kit template simply ships that second layer already done.
Free Astro component libraries
We compare these in depth in our guide to Astro UI component libraries. The short version:
CSS-only kits
daisyUI adds component classes such as btn, card and modal to Tailwind CSS. Because it is only CSS, it works in .astro files with no client JavaScript. Pico CSS styles plain semantic HTML and suits docs and small sites.
Astro-native components
Starwind UI provides accessible components written as .astro files, copied into your project by a CLI so you own the source. Interactive pieces use small scripts instead of a framework runtime.
Framework libraries in islands
shadcn/ui works in Astro through React islands. It is a good choice when part of your site is app-like, but each interactive component brings React with it, so use a client:* directive only where needed. Our guide to React components in Astro covers the setup.
Free section kits
Free section-level kits are rarer. AstroWind is the closest well-known free option: a free theme whose widgets folder holds hero, features, pricing, testimonials, FAQ and call-to-action sections you can reuse. The Astro themes directory lists other community starters.
Build pages from sections
The real value of a section kit appears when pages are assembled from data. Instead of hand-writing every landing page, list its sections in frontmatter and render them in order. Editors can then reorder, add or remove sections without touching component code.
First, define the allowed sections in a collection schema:
// src/content.config.ts
import { defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';
import { z } from 'astro/zod';
const hero = z.object({ type: z.literal('hero'), title: z.string(), lead: z.string(), cta: z.string() });
const features = z.object({ type: z.literal('features'), items: z.array(z.object({ title: z.string(), text: z.string() })).min(1) });
const pricing = z.object({ type: z.literal('pricing'), plans: z.array(z.object({ name: z.string(), price: z.string() })).min(1) });
const faq = z.object({ type: z.literal('faq'), items: z.array(z.object({ q: z.string(), a: z.string() })) });
const landing = defineCollection({
loader: glob({ pattern: '**/*.md', base: './src/content/landing' }),
schema: z.object({
title: z.string(),
sections: z.array(z.discriminatedUnion('type', [hero, features, pricing, faq])),
}),
});
export const collections = { landing };
Then map each section type to a component:
---
// src/pages/[slug].astro
import { getCollection } from 'astro:content';
import BaseLayout from '../layouts/BaseLayout.astro';
import Hero from '../components/sections/Hero.astro';
import Features from '../components/sections/Features.astro';
import Pricing from '../components/sections/Pricing.astro';
import Faq from '../components/sections/Faq.astro';
export async function getStaticPaths() {
const pages = await getCollection('landing');
return pages.map((page) => ({ params: { slug: page.id }, props: { page } }));
}
const registry = { hero: Hero, features: Features, pricing: Pricing, faq: Faq };
const { page } = Astro.props;
---
<BaseLayout title={page.data.title}>
{page.data.sections.map((section) => {
const Section = registry[section.type];
return <Section {...section} />;
})}
</BaseLayout>
A Markdown file such as src/content/landing/agencies.md with a sections: list in its frontmatter now becomes /agencies/. The discriminated union means a typo in a section type, or a pricing block with no plans, fails the build. Our landing page sections guide covers which sections to include and in what order, and the Astro content collections docs explain schemas in full.
What to look for in a UI kit template
Before you buy or adopt any section kit, check these:
- Sections are components, not copy-pasted markup. Open the source. A hero that exists once in
src/components/and is reused is a kit; a hero duplicated across ten pages is not. - Props, not hard-coded text. Section components should take their text and images as props so you can drive them from data.
- Design tokens. Colours, fonts and spacing defined once, in CSS custom properties or a Tailwind config.
- A style guide page. Many kits ship a page that shows every section and component. It is the fastest way to audit what you are getting.
- Little client JavaScript. Animations and sliders should be opt-in, and the site should work with JavaScript turned off.
- Accessible defaults. Visible focus styles, real buttons and links, and labelled form fields. Our Astro accessibility checklist lists what to test.
UI kit templates from our catalog
36 themes in our catalog describe themselves as UI kits. Our UI Kit category currently holds only one theme, so most UI kit templates are filed by industry instead: SaaS and dashboard kits in Technology, agency kits in Portfolio & Agency, shop kits in Retail & E-commerce and news kits in Blog & Editorial. Each is a complete Astro 7 project with TypeScript and Tailwind CSS, has a live preview, and builds to static files.
Marketing and agency kits
Agencies X ($39) is an agency template and UI kit with three homepage versions, portfolio and shop pages, and a large set of sections. Avante ($39) is a UI kit for business firms, digital agencies and startups with six homepage variants, useful when you need many hero and layout options. Calipso ($39) is a clean business kit with five homepage layouts and a pack of components.
SaaS kits
AirZen ($39) is a SaaS template and UI kit with three homepages, a features page and blog layouts. Cloudeo ($39) is a SaaS UI kit with features, integrations, pricing, download and company pages.
Dashboard kits
DashKit ($39) is a dashboard UI kit whose demo includes component pages such as accordions and alerts plus pages documenting its structure, variables and dark mode. Dawn ($39) covers app screens such as boards, calendar, customers, emails, tasks and support, and Bankzai ($39) focuses on finance screens: balance, cards, transactions and invoices. These are static screen designs; you connect them to your own data and authentication.
Editorial and shop kits
Chronicle ($39) is a news and magazine UI kit with six homepage versions. Clutch ($39) is an e-commerce UI kit with several landing and about page layouts for a fashion store.
How to choose
| You need | Choose |
|---|---|
| Primitives for a custom design | A component library: Starwind UI, daisyUI or shadcn/ui |
| A free set of marketing sections | AstroWind’s widgets |
| Many homepage and section variants for client work | Avante, Agencies X, Calipso |
| A SaaS marketing site fast | AirZen, Cloudeo |
| App or admin screens to prototype | DashKit, Dawn, Bankzai |
If you build sites for clients, a section kit plus the data-driven page pattern above is close to a private page builder, with none of the lock-in. Our Astro for agencies guide covers how studios reuse one kit across projects.
FAQ
What is the best UI kit for Astro?
For components, Starwind UI is the most Astro-native option, daisyUI is the lightest, and shadcn/ui suits React-heavy projects. For full marketing sections, start with AstroWind’s widgets or a UI kit template that ships sections as reusable components.
Does Astro have an official UI kit?
No. Astro does not ship a component library. It provides the component model, and the community and commercial kits build on it. Starlight, Astro’s docs framework, includes its own components for documentation sites only.
Can I use Tailwind UI or other Tailwind component kits in Astro?
Yes. Tailwind-based HTML components paste into .astro files directly. Interactive pieces need a small script or an island, and Tailwind CSS must be set up in the project first.
What is the difference between a UI kit and a theme?
A theme is a complete, styled website for one purpose. A UI kit is a broader collection of sections, layouts and components meant to be mixed into many different pages or sites. Many products, including several in our catalog, are both.
Do UI kit templates include a Figma file?
Some third-party kits do; check each product before you buy. Our themes are delivered as Astro source code through a private GitHub repository, and the code is the source of truth for the design.