Astro
tempa-ui
Simple UI for lazy developers. UI components built with Astro and Tailwind CSS. Free Forever
Simple UI for lazy developers. UI components built with Astro and Tailwind CSS. Free Forever
A copy-paste UI component library built with Astro and Tailwind CSS v4.
.astro file.@theme.| Component | Variants |
|---|---|
| Button | primary, outline |
| Card | vertical, horizontal, bordered, shadowed |
| Alert | solid, left-bordered, dismissible |
| Modal | sizes sm, md, lg |
| Tabs | configurable tab panels |
| Sidebar | expanded, collapsed |
| Breadcrumbs | auto-linked trail |
| Mockup | laptop, mobile, browser |
| Navbar | responsive navigation with search modal (Ctrl+K / Cmd+K) |
npm install
npm run dev
The dev server starts at http://localhost:4321.
| Command | Action |
|---|---|
npm run dev |
Start local dev server |
npm run build |
Build production site to ./dist/ |
npm run preview |
Preview production build locally |
npm run astro |
Run Astro CLI commands |
Copy any .astro file from src/components/ into your project's src/components/ directory. Import and use it in any Astro page or layout:
---
import Button from "../components/Button.astro";
---
<Button variant="primary">Click me</Button>
MIT