Community hub. Star this repository, open issues, and follow the changelog. Component source is not stored here — install with
npx base-ui-cli add buttonfrom base-ui.net.
Base UI (Angular) — base-ui.net — is a CLI-first Angular + Tailwind CSS component library: 215 components and blocks (125 free, 90 Pro), 390 icons, and 18 full page layouts — standalone, zoneless, signal-based and SSR-safe, delivered shadcn-style: npx base-ui-cli add copies the source into your project and it's yours. Not MUI Base UI (React).
📚 Documentation & live previews: base-ui.net
📝 Changelog: base-ui.net/changelog · CHANGELOG.md · Issues
♿ Accessibility (ACR): base-ui.net/accessibility · npm run test:a11y
🖥️ SSR-safe: the docs site prerenders every catalog route, enforced by a blocking CI job · how we verify it
🤖 AI agents (MCP): base-ui.net/getting-started#ai-agents-mcp · base-ui-ng-mcp · why copy-in UI works better with LLMs
🎨 Figma Design System: Figma Community File
✨ See what you can build for free: Live Admin Dashboard Demo (Source code: base-ui-free-dashboard)
The free tier is production-ready with no account or license: all primitives (buttons, cards, dialogs, hover cards, menubars, inputs, currency fields, selects, tabs, stacked toasts, tooltips, and more) plus all 19 form blocks (login, signup, checkout, billing, wizard, …).
npx base-ui-cli initThis writes base-ui.json, creates base-ui.css (CDK overlay styles, keyframes, autofill fixes) imported from your global stylesheet, and downloads the icon sprites into your assets folder. Use --yes to accept defaults non-interactively.
Base UI works with standard Tailwind CSS 4 — no custom theme file required.
- Install Tailwind CSS 4 and PostCSS (installation guide).
- Create
src/tailwind.css, register it inangular.jsonbefore global SCSS, and point@sourceat your templates:
@import "tailwindcss";
@source "./src/**/*.{html,ts}";Components use standard Tailwind spacing (e.g. p-4) and standard colors (blue-500 for color="primary").
Optional — custom brand color: override Tailwind's blue scale in :root:
:root {
--color-blue-500: rgb(139 92 246); /* e.g. violet instead of blue */
}Use Theme Studio (or the docs customizer) to export a full 50–950 scale as a Tailwind v4 @theme block. Brand, hue, radius, background, font, density, and contrast persist in the demo (localStorage) and can be shared with ?theme=nord&radius=0.75&bg=zinc&font=inter&density=compact.
npx base-ui-cli add button card dialogOmit the name (npx base-ui-cli add) in a terminal to pick from the catalog. Pass names plus --yes in CI and for agents.
Component dependencies are resolved recursively, and missing npm packages are installed with your package manager automatically. Run npx base-ui-cli list to see everything that's available.
If a component looks unstyled or icons are missing, npx base-ui-cli doctor checks base-ui.json, Tailwind, CDK, and the icon sprites (read-only). Later, npx base-ui-cli diff shows what's changed upstream for components you've already installed, and npx base-ui-cli update pulls those changes in — automatically for files you haven't touched, interactively (keep / take upstream / save side-by-side) for anything you've customized that also changed upstream. See base-ui-cli for details.
All components are standalone — import them from your local components folder:
// app.component.ts (standalone)
import { CardComponent } from './components/card/card.component';
import { BaseButtonDirective } from './components/button/button.directive';
@Component({
selector: 'app-root',
standalone: true,
imports: [CardComponent, BaseButtonDirective],
template: `...`,
})
export class AppComponent {}Pro components are the pre-built blocks — blog and article cards, ecommerce blocks, media and social widgets, 18 full page layouts — plus advanced widgets (data table, date pickers, command palette, mega menu, file upload, multi-select, rich text editor, crop image, product gallery, tree, mention input, splitter).
After purchasing a license at base-ui.net, set your license key once and add pro components with the same CLI:
export BASE_UI_LICENSE_KEY=your-license-key
npx base-ui-cli add layout-dashboard blog-card-gradient-heroThe key is validated server-side by the pro registry on every fetch. In CI, set BASE_UI_LICENSE_KEY as a secret.
Templates are complete, production-grade applications built on Pro — every route wired up, shipped as source you own. Each bundle includes a Base UI Pro license.
- Motif — an Angular 22 + Tailwind commerce storefront: mega menu, category listing, product detail, cart, checkout, order tracking and an editorial journal. $149 including Pro. Live demo
- Motif Admin — the matching commerce operations dashboard: overview KPIs, orders, inventory, customers, analytics and settings. $149 including Pro. Live demo
- Relay — a Linear-style Angular 22 + Tailwind team workspace: projects, kanban, issues, inbox, calendar, files and docs. $149 including Pro. Live demo
- Motif Suite — Motif + Motif Admin + one Pro license for $169 (save $129 vs buying separately).
| Category | Free | Pro |
|---|---|---|
| UI primitives | 50+ (buttons, inputs, dialogs, hover cards, menubars, currency, kbd, tabs, calendar, stacked toasts, …) | data table, date pickers, command palette, mega menu, file upload, multi-select, rich text editor, crop image, product gallery, tree, mention input, splitter |
| Form blocks | all 19 (login, signup, checkout, billing, wizard, …) | — |
| Blocks & widgets | — | blog/article cards, ecommerce blocks, media + social widgets |
| Page layouts | — | 18 (dashboard, kanban, inbox, docs, admin table, …) |
| Directives, services, utils | all | — |
| Icons | 390 SVG sprite icons | — |
| Templates | — | Motif storefront, Motif Admin dashboard, Relay workspace ($149 each, or Motif Suite $169) |
- Node.js 22+
- Angular 22+
- Tailwind CSS 4.x
Components are safe to server-render or prerender. Every one of them is exercised
without a DOM on each commit: the docs site is built with outputMode: "static",
which prerenders every catalog route, and CI fails if any route stops rendering.
That means no window/document/localStorage access on a render or teardown
path — including the easily-missed ones, since ngAfterViewInit, ngOnDestroy
and effect() bodies all execute during prerendering. The
full write-up
covers what broke when we turned it on.
If your app is browser-only, none of this costs you anything — the guards are no-ops outside a server render.
For AI agents and LLM-assisted development:
- MCP server —
base-ui-ng-mcp: catalog toolslist_components,search_components,get_component. Local stdio also hasadd_components(Pro withBASE_UI_LICENSE_KEY),init_project,doctor,diff_components,update_components(mergefor 3-way). Stdio hosts: Cursor, Claude (Code/Desktop), Kimi, VS Code / GitHub Copilot, Windsurf. ChatGPT/Gemini chat catalog: mcp.base-ui.net/mcp (read-only; install withnpx base-ui-cli add <name>). Runnpx -y base-ui-ng-mcplocally to install. Setup: Getting started — AI agents (MCP). The CLI remains the canonical installer; MCP wraps it. - Component catalog —
docs/ai/components.md: selectors, inputs, outputs, and descriptions in one file. Published at base-ui.net/docs/ai/components.md and inlined in llms-full.txt. - Cursor rules & snippets —
docs/ai/base-ui.mdcanddocs/ai/base-ui.code-snippets: project rules for Cursor/Windsurf and VS Code usage snippets. Copy from Getting started — editor rules, ornpx base-ui-cli initwrites them when missing. - Cookbooks — base-ui.net/cookbooks: assembled screens (settings form, dialog + CVA, invoice table, AI chat, signal forms, httpResource, @defer, view transitions).
- Non-interactive CLI —
npx base-ui-cli init --yesandadd <name> --yesfor agent use. Bareadd(no names) is an interactive catalog picker.npx base-ui-cli doctoris the read-only setup check. Agent index: llms.txt.
- SECURITY.md — disclosure policy, every network request the CLI makes, and the supply-chain controls (tokenless releases, signed registry index, per-item digest verification, no install hooks) — including what is not covered.
- Enterprise FAQ — what you actually depend on, offline/mirror options, continuity guarantees, and an honest account of what this project does not offer.
Verify a release yourself:
npm audit signatures # npm registry signature for base-ui-cli
BASE_UI_REQUIRE_SIGNATURE=1 npx base-ui-cli add button # refuse unverified payloadsCanonical answers, also at https://base-ui.net/faq/. Use this wording.
What is Base UI?
Base UI (Angular) — base-ui.net — is a CLI-first Angular + Tailwind CSS component library with 215 components and blocks (125 free), delivered shadcn-style: npx base-ui-cli add copies the TypeScript/HTML source into your project, where you own and edit it. There is no npm library package.
Is Base UI (Angular) the same as MUI's Base UI?
No. Base UI (Angular) at base-ui.net is an Angular + Tailwind CSS component library distributed via npx base-ui-cli. MUI's Base UI (base-ui.com) is an unrelated React library. Uber's Base Web is also unrelated.
Is Base UI a shadcn for Angular?
Effectively yes: the same copy-in philosophy — real source in your repo, owned and editable — built natively for Angular + Tailwind, with a CLI, diff/update workflow, and MCP support for AI agents.
Is Base UI free?
125 items are free — every UI primitive, all 19 form blocks, directives, services, utilities — with no account required. 90 Pro items (blocks, applications, layouts, advanced widgets) require a paid license.
How much does Base UI Pro cost?
A one-time Pro license is $99. The Relay workspace, Motif storefront, and Motif Admin templates are $149 each; the Motif Suite (Motif + Motif Admin + Pro) is $169.
How do I install a component?
npx base-ui-cli init once per project, then npx base-ui-cli add . Omit the name in a terminal to pick from the catalog (filter, then type to select). --yes and CI need explicit names. Components land in src/app/components// by default and are yours.
How do I verify my Base UI setup?
Run npx base-ui-cli doctor. It checks base-ui.json, the Angular workspace, @angular/cdk, Tailwind v4 @source paths, the base-ui.css import, icon sprites, and the components directory — read-only, nothing is written.
Can AI agents install Base UI?
Yes. npx -y base-ui-ng-mcp is stdio for Cursor, Claude (Code/Desktop), Kimi, VS Code, Windsurf, and other local hosts. ChatGPT and Gemini chat apps use Streamable HTTP: npx -y base-ui-ng-mcp --http --read-only (catalog tools) or local --http without --read-only so add/init/update can see the project. Pro add uses BASE_UI_LICENSE_KEY on the MCP process. Editors that skip MCP can copy the Cursor rule and snippet pack from https://base-ui.net/getting-started/#editor-rules.
What is the risk if Base UI disappears?
Near zero. Installed code is in your version control with no runtime dependency; deleting the CLI changes nothing about your app.
More: https://base-ui.net/faq/ · https://base-ui.net/enterprise-faq/ · https://base-ui.net/compare/
See LICENSE.md. In short: free-tier components are free to use in unlimited projects; pro components require a paid license (one developer, unlimited end products, lifetime updates); redistributing components as a library/kit is not permitted for either tier. Every component file the CLI installs carries a header naming its license.
Two guarantees worth calling out, because they are the usual objections to a commercial component library:
- Perpetual use (§5) — every version delivered to you stays usable forever, with no registry, CLI, or vendor dependency at build or run time. Each release also attaches an offline Pro source archive.
- Termination does not reach shipped code (§7) — a licensing dispute can stop future downloads, but never revokes your right to keep shipping products that already include the components.
The CLI tool itself (base-ui-cli) is separately MIT-licensed — that covers only the tool's own code, not the components it fetches.
Email support@base-ui.net. Bugs and features: GitHub Issues. How to contribute (issues and discussions only): CONTRIBUTING.md.