Installation
Get started with Tempa UI in your Astro project.
Prerequisites
Before using Tempa UI components, make sure you have an Astro project with Tailwind CSS set up. If you haven't already, create one:
npm create astro@latest my-project -- --template basics cd my-project npx astro add tailwind
Using the Components
Tempa UI is not an npm package, it's just a collection of copy-paste ready components. There's nothing to install. Just grab the component file you need and drop it into your project.
- Browse the components page and find the component you want.
- Open its documentation page and copy the source code.
-
Paste the
.astrofile into yoursrc/components/folder. - Import and use it like any other Astro component.
What You'll Need
- Astro — all components are plain
.astrofiles. - Tailwind CSS v4 — the components use Tailwind utility classes for styling.
That's it. No framework, no build step, no hidden dependencies. Just Astro, Tailwind, and the component you need.