ng-blatui

MCP serverSearch

Once added, your AI can search ng-blatui's components, blocks, charts, and templates and read their typed API. ng-blatui is a collection of UI pieces for Angular. The result is Angular code that uses the right pieces and matches their actual interfaces.

Use ng-blatui in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add ng-blatui and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use ng-blatui to list components

Details

Available today. Use it from your connected AI after setup.

After adding it, tell your AI what you are building and ask it to find a matching component, block, chart, or template. It can show the typed API first so the code it writes fits the library.

ng-blatuiStart free

What your AI can do with it

  • Search ng-blatui components for what you are building
  • Find ready-made blocks for a screen
  • Look up the charts the library offers
  • Browse available templates to start from
  • Read a component's typed API before writing code

Install ng-blatui

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user ng-blatui 'https://ngblatui.remix-it.com/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://ngblatui.remix-it.com/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=ng-blatui&config=eyJ1cmwiOiJodHRwczovL25nYmxhdHVpLnJlbWl4LWl0LmNvbS9tY3AifQ==

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://ngblatui.remix-it.com/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add ng-blatui --url 'https://ngblatui.remix-it.com/mcp'

    Run it once, then sign in with codex mcp login ng-blatui if the server asks for an account.

From the project's README

As published by anousss007/ng-blatui in README.md.

Accessible Angular UI library — a faithful port of BlatUI's visual system to Angular. Built on the official Angular headless stack (Angular Aria + CDK), styled with Tailwind CSS v4 + oklch design tokens.

157 components · 16 blocks · 70 charts · 35 page templates — all standalone, signal-based, zoneless and SSR-safe.

🔗 Docs & live demo → · 📦 npm · 🤖 Using with AI →


Highlights

  • Angular 21 & 22 — standalone components, signals (input()/model()/output()), zoneless change detection, OnPush by default.
  • SSR-ready — every component renders correctly under server-side rendering (the docs site prerenders 280+ static routes).
  • Accessible — behavior built on @angular/aria + @angular/cdk; passes AXE / WCAG AA.
  • Forms-native — every form control implements ControlValueAccessor, so the same component works with Reactive, Template-driven and Signal forms.
  • Themeable — Tailwind v4 utilities + CSS variables (oklch tokens); light/dark out of the box.
  • AI-ready — ships an MCP server, an llms.txt index and a machine-readable registry (see below).

Installation

npm i ng-blatui

Peer dependencies (Angular 21 or 22): @angular/core, @angular/common, @angular/forms, @angular/cdk, @angular/aria.

Tailwind CSS setup

Styling is Tailwind CSS v4. In your app's global stylesheet (e.g. src/styles.css) add three lines:

@import 'tailwindcss';
@import 'ng-blatui/foundations/blatui.css'; /* design tokens + dark theme */
@source '../node_modules/ng-blatui'; /* ← generate the utilities the lib's classes use */

The @source line is the easy one to miss: without it Tailwind never scans ng-blatui's compiled templates, so the components render unstyled. Point it at wherever ng-blatui lives relative to the stylesheet (adjust the ../ depth). Dark mode is a dark class on a parent (<html class="dark">); override any oklch token in :root / .dark to re-theme. Full guide: https://ngblatui.remix-it.com/docs/installation.

Icons

ng-blatui ships no icon set — wire your own (e.g. @ng-icons) with provideIcons(...) and register each icon you use. Components that take an icon accept an SVG path d string, so any icon source works.

Usage

Import the component class from the ng-blatui barrel and add it to a standalone component's imports[] — no NgModule. Selectors are prefixed bui.

import { Component } from '@angular/core';
import { BuiButton, BuiBadge, BuiInput } from 'ng-blatui';

@Component({
  selector: 'app-demo',
  imports: [BuiButton, BuiBadge, BuiInput],
  template: `
    <label>
      Email
      <input buiInput type="email" placeholder="you@example.com" />
    </label>
    <button buiButton>Save <span buiBadge tone="success">New</span></button>
  `,
})
export class Demo {}
  • Element selectors: <bui-avatar>, <bui-rating>, …
  • Attribute/directive selectors: <button buiButton>, <input buiInput>, <span buiBadge tone="success">, …
  • Signals: bind [checked] / (checkedChange) etc.; works under zoneless CD and SSR with no extra setup.
  • Forms: formControlName, [(ngModel)] or [formControl] all work — every control is a ControlValueAccessor.

Form fields: two levels

  • Batteries-included components wire label + hint + error + ARIA for you: BuiInputField, BuiMoneyInput (localized currency; symbol="DH" overrides the ISO code), BuiDateRangePicker (start→end with presets), plus BuiSelect, BuiCombobox, BuiAutocomplete, BuiPhoneInput.
  • Composition primitives for custom layouts: buiField + buiFieldLabel / buiFieldDescription / buiFieldError wrap a bare buiInput / .blat-* control and manage the a11y relationships.

Reach for a bare control (buiInput) only when you also add the buiField scaffolding yourself. Other easy-to-miss building blocks: buiEmpty (empty states), bui-stat (stat cards), buiFieldSet / buiFieldLegend (grouped fields).

Theming

Styling is Tailwind v4 + CSS variables. Override the oklch design tokens (--background, --foreground, --primary, --border, --muted, --radius, …) to restyle everything globally; toggle a dark class for dark mode. See https://ngblatui.remix-it.com/docs/theming.

Localization

Two providers cover the whole library, both set once in your app config:

import { provideBuiLabels, provideBuiLocale } from 'ng-blatui';

providers: [
  provideBuiLocale('fr-BE'), // dates, times, numbers, week start, weekend, week numbering
  provideBuiLabels({ fileUploadRemove: 'Supprimer le fichier' }), // built-in strings
];

Set neither and everything formats as en-US — that is Angular's own LOCALE_ID default, and the usual reason pickers stay American in an app that is not. Resolution runs most-specific first: a component's [locale] input → provideBuiLocale() → the app's LOCALE_ID → en-US. You never need registerLocaleData() here; ng-blatui formats through Intl.

Both providers also take a signal, or a factory run in an injection context — which is what keeps them open to any translation library (Transloco, ngx-translate, a signal store of your own) without ng-blatui depending on one, or knowing any translation format. Full guide, with a Transloco example: https://ngblatui.remix-it.com/docs/localization.

What's inside

CategoryCountBrowse
Components157https://ngblatui.remix-it.com/components
Blocks16https://ngblatui.remix-it.com/blocks
Charts70https://ngblatui.remix-it.com/charts
Templates35https://ngblatui.remix-it.com/templates

Templates are full, production-style pages (dashboard, pricing, auth, store, CRM, blog, docs, e-commerce product, plus 20 art-directed landing pages) — faithful 1:1 reproductions of the BlatUI originals.

Using with AI agents

ng-blatui is built to be consumed by AI coding assistants so they discover and use the catalog correctly instead of guessing — via three layers:

LayerWhatWhere
MCP serverTools to list/search the catalog and fetch full docs + codenpx ng-blatui-mcp
llms.txtThe llms.txt standard indexhttps://ngblatui.remix-it.com/llms.txt
registry.jsonMachine-readable cataloghttps://ngblatui.remix-it.com/registry.json

Quick start (works in Claude, Cursor, Windsurf, Cline, Zed, VS Code…):

claude mcp add ng-blatui -- npx -y ng-blatui-mcp
# or add to any MCP client:
# { "mcpServers": { "ng-blatui": { "command": "npx", "args": ["-y", "ng-blatui-mcp"] } } }

The MCP server exposes list_components (optional category), list_blocks, list_charts, list_templates, search({ query }) and get_docs({ name }). Full guide with per-client config and copy-paste editor rules: USING-WITH-AI.md.


Development

This is an Angular workspace with two projects: the library (projects/ng-blatui) and the docs/demo app (projects/demo).

git clone https://github.com/anousss007/ng-blatui.git
cd ng-blatui
npm install
npm start          # serve the docs/demo app at http://localhost:4200

Scripts

CommandWhat it does
npm startServe the demo app (ng serve demo)
npm run build:libBuild the publishable library (ng build ng-blatui)
npm run buildBuild the demo site
npm testUnit tests (Vitest)
npm run lintESLint (type-aware, strict) + template a11y
npm run formatPrettier (with Tailwind class sorting)
npm run build:registryRegenerate registry.json + llms.txt from the catalog
npm run capture:previewsCapture template preview images (Playwright)
npm run deploy:siteBuild + deploy the docs site to the VPS

Project structure

projects/
  ng-blatui/        # the published library (src/lib/* = 157 component dirs, public-api.ts)
  demo/             # docs + live demo site (components/blocks/charts/templates galleries)
    src/app/pages/templates/   # the 35 page templates
    public/         # static assets incl. generated llms.txt + registry.json
scripts/
  build-registry.mjs   # generates registry.json + llms.txt + mcp/registry.json
  capture-previews.mjs # template preview screenshots
  deploy-site.sh       # build + rsync to VPS
mcp/                # the ng-blatui-mcp MCP server package (published separately)
.claude/skills/     # angular-best-practices (contributing) + ng-blatui (consuming)
AGENTS.md           # guide for AI agents working IN this repo
USING-WITH-AI.md    # guide for consuming ng-blatui WITH an AI agent

Conventions

Angular v22, zoneless, standalone (defaults — never set explicitly). Signals everywhere; native control flow (@if/@for/@switch); no *ngIf/ngClass. Library selector prefix bui, demo prefix app. See AGENTS.md and CONTRIBUTING.md for the full ruleset.

Releasing

  • Library (ng-blatui) — the Release GitHub Actions workflow (manual dispatch) runs semantic-release: it analyzes Conventional Commits, bumps the version, tags, creates a GitHub release and publishes to npm with provenance.
  • MCP server (ng-blatui-mcp) — bump mcp/package.json, then run the Release MCP workflow (manual dispatch) to publish it.

Credits

Angular port of BlatUI (Blade/Laravel + Tailwind component system). Behavior on Angular Aria + CDK.

License

MIT

Tools it offers (7)

What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • list_components
  • list_blocks
  • list_charts
  • list_templates
  • search
  • get_docs
  • get_api

Signals

GitHub stars
17
Forks
2
Last commit
Sep 2026
Advanced
Delivery
ng-blatui MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-anousss007-ng-blatui
Source
github.com/anousss007/ng-blatui
Hosted endpoint
https://ngblatui.remix-it.com/mcp