Skip to content
246 components and 130 blocks · Free & MIT

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/button

Add 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.

Browse all 246 components

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.

Stacked notifications that fan out cleanly on hover.

Budget range

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.

TabsFree

Switch related views with a sliding indicator.

Native popover actions anchored directly to its trigger.

Dialogs use the native element

The browser handles focus, Escape and the backdrop.

DialogFree

Native modal surface with Escape and focus return.

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.

Billing cycle
per month, billed monthly

Sliding cycle switch with rolling numeric transitions.

People here now

  • MC

    Mila Chen· online

    Reviewing the overview

  • OP

    Owen Park· typing

    Writing a comment

  • LC

    Lea Costa· idle

    Away from this tab

Active collaborator avatars with status popover.

All 246 components and 130 blocks are completely free and MIT-licensed, no account needed.

Browse all components

From your terminal, or from your agent

Give Haze to your AI

shadcn CLI

One command, source in your project.

npx shadcn@latest add @haze/button

MCP & agent docs

Claude Code, Cursor and Codex install and read the manual for you.

  • Claude Code
  • Cursor
  • Codex
  • MCP
npx shadcn@latest mcp

Completely 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

    Optional

    No 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
  • Sponsor Haze UI

    Text-only partner slots in the sidebar, docs, and release emails.

    View placements
  • Hire us for custom UI

    Custom Astro components, private shadcn registries, and design systems.

    Request consulting
  • Screens & Starter Kits

    Unlock full-page Astro layouts and multi-block install bundles with your email.

    Unlock free

Engineering guides

Field notes on plain .astro architecture, native HTML overlays, OKLCH tokens, WCAG 2.2 contrast, and AI agent tooling.

Read all 12 guides

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.