The Astro UI library your AI agents can build with.
246 components and 130 page blocks written as plain .astro files. Completely free, add them with the shadcn CLI or let your coding agent read the registry and llms.txt.
npx shadcn@latest add @haze/buttonAdd the Haze registry to components.json first. See the setup steps
The everyday pieces, finished
Menus, fields, dialogs and tabs with keyboard support and quiet motion. Every component is free.
Searchable select with smooth type-ahead filtering.
Recent updates
Lena joined Checkout redesign
She can comment on files and review handoffs.
Release published
v2.4 is live across all regions.
You’re caught up.
Stacked notifications that fan out cleanly on hover.
16 of 22 options in this range.
Dual-thumb slider paired with a live distribution chart.
Add the registry once, then add any entry by name.
Import the .astro file and pass props. Every prop has a default.
Change the variables in the theme file. Components read tokens, never raw colors.
Switch related views with a sliding indicator.
Native popover actions anchored directly to its trigger.
Native modal surface with Escape and focus return.
Press and hold for 1.2 s. With a keyboard, hold Space or Enter. Press Escape to cancel.
Confirm with a button
Press-and-hold destructive guard with progress sweep.
Use a modifier and a key, such as Ctrl+K. Escape cancels recording.
Capture custom keybinds with conflict detection.
Enter the six digits from your authenticator.
Numeric one-time code field with instant paste support.
Multi-tenant switcher popover with instant filtering.
Sliding cycle switch with rolling numeric transitions.
Active collaborator avatars with status popover.
All 246 components and 130 blocks are completely free and MIT-licensed, no account needed.
Browse all componentsFrom your terminal, or from your agent
Give Haze to your AIshadcn CLI
One command, source in your project.
npx shadcn@latest add @haze/buttonMCP & agent docs
Claude Code, Cursor and Codex install and read the manual for you.
- Claude Code
- Cursor
- Codex
- MCP
npx shadcn@latest mcpCompletely free, MIT-licensed
Every component and block is free forever with zero paywalls. Sustained by Ko-fi, sponsors, and custom UI work.
- Components & blocks
- 246 UI, 130 blocks
- Screens & kits
- Free with email
- Support
- Ko-fi & sponsors
Completely free. Backed by the community.
Every component, block, and agent file is free and MIT-licensed forever. Support the project via Ko-fi, sponsorships, or custom UI engineering.
Free forever
The entire library, as plain .astro source files you own and ship in personal or commercial projects.
$0MIT-licensed
- 246 UI components — open, no email needed
- 130 page blocks installed through the shadcn registry
- Full-page Screens & Starter Kits unlocked free with email
- llms.txt, Markdown twins and metadata for coding agents
- Zero paywalls, zero gated paid tiers
Support on Ko-fi
OptionalNo component will ever sit behind a paywall. Voluntary Ko-fi tips help fund maintenance and new releases.
Ko-fione-time or monthly
- Keeps every component and block 100% free
- Funds new blocks, screens and accessibility checks
- Supports upcoming React, Vue and Svelte ports
- Completely optional — nothing is paywalled
- View placements
Sponsor Haze UI
Text-only partner slots in the sidebar, docs, and release emails.
- Request consulting
Hire us for custom UI
Custom Astro components, private shadcn registries, and design systems.
- Unlock free
Screens & Starter Kits
Unlock full-page Astro layouts and multi-block install bundles with your email.
Engineering guides
Field notes on plain .astro architecture, native HTML overlays, OKLCH tokens, WCAG 2.2 contrast, and AI agent tooling.
- Architecture
Astro UI Libraries Compared: Plain .astro Components vs. React Islands
Why plain .astro components outperform hydrated React UI islands on Astro sites, and when a React island still makes sense.
9 min readRead guide - Tutorials
How to Use the shadcn CLI in an Astro Project (Without Installing React)
Step-by-step setup for custom @haze shadcn registries in pure Astro projects, including overwrite flags and dependency resolution.
7 min readRead guide - Tutorials
Building a Fast Dark SaaS Dashboard in Astro and Tailwind CSS v4
A practical layout and component blueprint for building multi-route SaaS dashboards in Astro using Haze UI shell, table, and settings blocks.
10 min readRead guide
Good questions
Short answers. The docs have the long ones.
How do I add a component?
Add the Haze registry to components.json, install the theme once, then run npx shadcn@latest add @haze/button. The installation guide covers the shared styles and dependencies.
Is Haze UI completely free?
Yes. Every component, block, utility, and theme token is free and MIT-licensed for personal and commercial projects. Full-page Screens & Starter Kits unlock free with an email, and you can optionally support the project on Ko-fi at ko-fi.com/mythicbrain.
Can my AI tool use Haze?
Yes. Every entry ships with structured metadata, a Markdown twin, llms.txt and a shadcn-compatible registry so coding agents know when and how to use each piece.
Which frameworks does Haze support?
Astro today. The components avoid framework-only features on purpose, so ports to React, Vue and Svelte can follow. They are planned and not available yet.
Can I change how it looks?
Yes. The theme is one CSS file of variables with shadcn's names, and you own every .astro file after install.
What’s the difference between components and blocks?
Components are the everyday UI primitives—buttons, menus, fields, dialogs and tabs. Blocks are complete page sections such as heroes, pricing, FAQs and footers built from those primitives.
Does motion respect my device preferences?
Yes. Menus, dialogs and disclosures animate with short CSS transitions and switch off under prefers-reduced-motion.
Start with one component
Try it on its page, then install it with one command.