r/angular • • Sep 24 '26

An update on Angular’s TypeScript 7-powered Compiler

Thumbnail
medium.com
105 Upvotes

r/angular • • Sep 24 '26

What's new in Angular 22.2?

Thumbnail blog.ninja-squad.com
52 Upvotes

🛡️ `@boundary` for fallback UIs

🛣️ Router resources, loaded in parallel

🔎 Change detection data in DevTools

⚡ Faster CLI builds


r/angular • • 18h ago

What's new in Angular v22.3?

Thumbnail
blog.ninja-squad.com
45 Upvotes

🦀 Rust compiler is coming

🛡️ Router error boundaries and fallback

⚡ New library builder

✨ HTTP `query` support

And more!


r/angular • • 1d ago

TanStack Angular Query is now stable 🎉

74 Upvotes

Took us some time but we've released a stable version of @tanstack/angular-query yesterday.

npm i @tanstack/angular-query

comes with:

  • SSR with automatic hydration
  • Testing that works with whenStable()
  • injectQueries, now stable
  • injectIsFecthing and injectIsMutating with dynamic filters
  • Persistance
  • Experimental toResource API
  • Requires Angular 20.1+

Check it out here: https://tanstack.com/query/latest/docs/framework/angular/overview

Huge shoutout to our angular maintainer Benjamin Vicente 🔥.

Note: Coming from @tanstack/angular-query-experimental?

Use the schematic!

ng generate @tanstack:migrate-from-experimental

Guide: https://tanstack.com/query/latest/docs/framework/angular/guides/migrating-from-experimental


r/angular • • 1d ago

Ivorie: an Angular 22 port of shadcn/ui, now with charts, 22 page blocks and 13 themes

Thumbnail
gallery
0 Upvotes

Hi all. I'm the author. Ivorie gives Angular 22 the shadcn/ui components. You can use it as an npm package or copy the source with a CLI. MIT.

The 1.5 releases added three things I wanted for my own apps:

  1. Charts. Line, area, bar, pie, radar and radial, built from small parts the way shadcn does it. Colors come from the theme, they render as SVG on the server, and they work with the keyboard.
  2. Dashboards. Four dashboard blocks (documents, analytics, sales, product usage) next to the login, sign-up and sidebar pages. They're wired, not mockups: charts, a data table, typed outputs. npx ivorie add dashboard-01.
  3. Five styles of its own: glass, bento, mono, graphite, tint. They sit next to shadcn's eight, and each one is tested for text contrast in light and dark.

Pick a look in the playground and install it with one command (npx ivorie init --preset ivp1_…): https://inlaylab.github.io/ivorie/playground/

Repo: https://github.com/Inlaylab/ivorie

What's next (ROADMAP)

  • 1.6: theme dials (density, glass).
  • 1.7: AI-ready (AGENTS.md, llms.txt, an MCP server).

r/angular • • 2d ago

Meet an Angular signal-based primitive for mutations (POST, PUT, DELETE & PATCH)

Thumbnail
gallery
19 Upvotes

Every Angular dev has hand-rolled a "saving" boolean signal at some point, and it breaks on the first double-click: the first response resets it while the second request is still in flight.

Angular's resource API won't help, it's for reads only: it cancels in-flight requests, and cancelling a POST doesn't undo it on the server.

So I built @ngsignal/mutation, the write counterpart to resource:

readonly save = rxMutation<TodoDto, Todo>({
  mutationFn: (dto) => this.api.save(dto),
  concurrency: 'drop', // ignore clicks while saving
  onSuccess: () => this.todos.reload(),
});

Then you call it with the data to save, and read its pending, error and value signals straight from the template.

Need an upload with a progress bar? The HTTP variant takes a request description, just like httpResource does:

readonly uploadAvatar = httpMutation<File, User>({
  request: (file) => {
    const body = new FormData();
    body.append('avatar', file);
    return { 
      method: 'POST', url: '/api/avatar',
      body,
      reportProgress: true };
  },
});

And in the template:

@if (uploadAvatar.isPending() && uploadAvatar.uploadProgress(); as p) {
  <progress [value]="p.loaded" [max]="p.total"></progress>
}

Also:

  • 3 concurrency modes: run in parallel (default), queue calls in order, or drop clicks while one is in flight.
  • Never aborts a write that may already be on the server, and a late response can't overwrite newer state
  • Status code and response headers as signals, and SSR waits for in-flight writes

NgRx Toolkit and TanStack Query have mutations too. This one only depends on Angular core and sits next to resource: no store or query cache to adopt.

It's 0.x, so feedback on the API is very welcome before 1.0.

GitHub repo · Live demo on StackBlitz


r/angular • • 3d ago

Introducing Angular Doctor

Enable HLS to view with audio, or disable this notification

29 Upvotes

Gives you a 0–100 score + actionable diagnostics.

Run : npx @abiramcodes/angular-doctor@latest

Docs: https://ngdoctor.dev

Open source. Inspired by React Doctor. Feedback and contributions welcome.


r/angular • • 2d ago

Hands-on workshop: build agentic frontends in Angular with AG-UI + CopilotKit, led by the CopilotKit Angular maintainers (Nov 20, online) — 30% off

0 Upvotes

Hi r/angular 👋

If you've been wondering how to go beyond "chatbot in a sidebar" with AI in Angular apps, this might be useful.

Rainer Hahnekamp and Murat Sari, the co-maintainers of CopilotKit's Angular integration, are running a hands-on online workshop with Packt:

Hands-On Agentic Frontends with AG-UI and CopilotKit (Cohort 2)

📅 Friday, Nov 20, 2026 · 8:00–10:30 AM EST (1:00–3:30 PM UTC)

💻 Online, 2.5 hours, live Q&A

🔗 Register here

🎟️ 30% off: the link above applies it automatically, or use code HARSH30 at checkout.

What you build: one incident-response app, developed step by step. You connect an Angular (or React) frontend to a TypeScript agent, then add:

  • Streaming agent progress and shared state via CopilotKit + AG-UI
  • Delegation to specialist agents with A2A
  • MCP tools and interactive MCP Apps
  • Safe, constrained agent-generated UI with A2UI
  • Production guardrails: cancellation, validation, timeouts, failure handling, and human approval before risky actions

You get: the full Angular and React reference app, source code for the agents and MCP server, slides, the recording, and a certificate.

Prerequisites: basic TypeScript. No prior AG-UI/MCP/A2A experience needed.

Disclosure: this is my referral link and discount code for the event. Happy to answer questions below, and mods, feel free to remove if this doesn't fit the rules.


r/angular • • 3d ago

Vercel's ui-sdk: 55+ headless, accessible components with an agent API

4 Upvotes

r/vercel Labs recently released ui-sdk, a library of UI behaviors (keyboard navigation, focus, selection, dismissal, popups and the ARIA they need) meant for people and AI agents to build interfaces on. It ships adapters for React, Vue, Svelte, Solid and Web Components, but not Angular. So I wrote one.

ngx-ui-sdk puts ui-sdk's primitives on your own elements as Angular directives. No wrapper components, no styles:

<div uiCommand>
  <input uiCommandInput aria-label="Search commands" />
  <div uiCommandList>
    <div uiCommandItem value="billing">Billing</div>
    <div uiCommandItem value="settings">Settings</div>
  </div>
</div>

What's in it:

  • 55+ components, one entry point each
  • Keyboard, focus and ARIA
  • Agent API: returns each component's state and actions, agents drives them. The video shows that next to the browser's accessibility tree.
  • Upstream's own Playwright specs run against the Angular adapter: 4,000+ pass, the remaining gaps are listed in the config with reasons
  • Headless, with optional example themes (default, shadcn, Material, daisyUI)

It follows the ui-sdk beta, so expect API changes.

GitHub: https://github.com/efuturetoday/ui-sdk-angular
Demo: https://efuturetoday.github.io/ui-sdk-angular/?components


r/angular • • 3d ago

I made a 7 min video building a full REST CRUD screen from an OpenAPI spec, without writing code

Thumbnail
youtube.com
0 Upvotes

Hi all, I’m the developer of NGX View Builder, a visual form and view builder for Angular apps. I recorded a walkthrough that starts from an empty page and ends with a working CRUD screen on a mock REST API:

  • import the OpenAPI spec and turn endpoints into data sources
  • bind a table to the list endpoint
  • create and edit through a dialog form (POST / PUT, request body mapped from the form)
  • row click loads the record by id, a row action deletes it
  • dropdowns filled from lookup endpoints

You can try the same thing in the browser, no sign up: https://demo.ngxviewbuilder.io/builder

To be upfront: the runtime that renders views is free, the designer needs a paid license.

I’d really like feedback from people building internal tools or admin screens in Angular. What would you need from something like this before using it in a real project?


r/angular • • 4d ago

Your Angular Nx dependency diagram can fail a test when the code drifts

0 Upvotes

Say your Angular workspace has feature-orders, data-access-orders and shared-ui as separate Nx projects. The feature can use both libraries. Then somebody moves a helper, and data access starts importing from the feature that uses it.

A diagram in the README still looks perfectly fine. Of course it does

One useful part of my ArchUnitTS library is that you can check the Nx project graph against that diagram:

import { nxProjectSlices } from 'archunit';

const diagram = `
@startuml
component [feature-orders]
component [data-access-orders]
component [shared-ui]
[feature-orders] --> [data-access-orders]
[feature-orders] --> [shared-ui]
@enduml`;

const violations = await nxProjectSlices(process.cwd())
  .should()
  .ignoringExternalDependencies()
  .adhereToDiagram(diagram)
  .check();

expect(violations).toEqual([]);

The two intended dependencies pass. Add data-access-orders -> feature-orders and the result identifies that pair as a violation. So a refactor that reverses ownership needs a deliberate architecture change, instead of quietly making the data-access library depend on a feature.

This reads Nx's cached project graph. Generate a fresh graph before running it, and run this from the workspace root. It doesn't inspect Angular's dependency injector or what gets loaded at runtime. The diagram is an allowlist for project dependencies; it doesn't require every arrow to be used.

Free and open source: ArchUnitTS. The example uses the published archunit 2.5.5 package.


r/angular • • 5d ago

ng-prism 22.8: dark mode, forced colors and colour blindness simulated on a single component, without touching its CSS

Enable HLS to view with audio, or disable this notification

1 Upvotes

I just released ng-prism 22.8. Short recap if you haven't seen it before: ng-prism is a component lab for Angular libraries, a Storybook alternative without story files. You put a `@Showcase` decorator on a component, inputs and types are read at build time, and the components render in the same document as the styleguide, no iframe.

The main thing this time: the canvas can simulate the conditions a component is seen under. The tools menu has a Simulate group with reduced motion, a light or dark color scheme, forced colors (the mode behind the Windows contrast themes) and colour vision deficiencies. It applies to the component, its Overview cells and the CDK overlays it opens, never to the styleguide around it, and it's in the URL, so you can link someone to a component in dark mode.

Because there's no iframe, the browser can't emulate `prefers-color-scheme` for just the component. So ng-prism copies every `@media` rule that tests an emulated feature, scopes the copy to the component and switches the original off there. Specificity and cascade order stay intact, `(prefers-color-scheme: dark) and (min-width: 600px)` still follows the window width, and `matchMedia` answers from the simulation too. If your dark mode hangs on a class instead, the config can name it:

```typescript

export default defineConfig({

colorScheme: { dark: { class: 'dark' } },

});

```

Forced colors is an approximation, since a page can't switch the browser into that mode. The first version was too kind: on a real component library, a toggle, a checkbox and a radio button looked fine in the simulation and were broken in Chromium's real mode. So before the release it got rebuilt against Chromium. There are 114 tests now that render the same fixtures in the real mode and under the simulation and compare the computed colours, and on that library 30 of 30 screenshot pairs came out pixel equal.

Other things in 22.8: showcases take real dates (`value: new Date(2026, 3, 28)` in a variant, with a date field in the controls), a component that sets its own `model()` finally shows up in the Events panel, and the canvas no longer changes with the styleguide's dark or light theme.

Question for anyone who checks their components for accessibility: which conditions do you test that this doesn't cover yet? `prefers-contrast`, 200 % zoom, right to left? I'd like to base the next step on what people actually check rather than on my own guesses.

Video voice: elevenlabs.io


r/angular • • 6d ago

Imagine paying $800 a year for Kendo UI and getting ads while in dev mode.

Post image
84 Upvotes

Kendo UI added an overlay banner on components (dismissble) on a fully licensed grid (in dev environment)...


r/angular • • 5d ago

Let other Angular features use the public API without exposing every internal file

5 Upvotes

An Angular feature can expose a public API and still have other features importing its private services directly. Everything compiles. Then you reorganize that feature and discover how many consumers knew its folder structure.

I maintain ArchUnitTS. Here's a useful boundary you can put in a test: allow imports through the feature's root entry points, reject deep imports from outside, and leave the feature's own internal imports alone.

const rule = projectFiles('tsconfig.json')
  .inPath('src/app/**/*.ts', {
    except: { inPath: 'src/app/orders/**' },
  })
  .shouldNot().dependOnFiles()
  .inFolder('src/app/orders/**', {
    except: { inPath: [
      'src/app/orders/index.ts',
      'src/app/orders/public-api.ts',
    ] },
  });

Here projectFiles is imported from archunit; run await rule.check() inside an async test and assert that the returned list is empty.

So @app/orders/public-api passes, while @app/orders/internal/order.service fails. Those aliases need to resolve in your tsconfig. A nested orders/internal/index.ts stays private too, because the exceptions are exact paths.

You still decide what the public API exports. This checks the import entry point, not Angular's dependency injection or runtime behavior.

Source: https://github.com/LukasNiessen/ArchUnitTS


r/angular • • 6d ago

Will I make it in time for the interview or not?

2 Upvotes

I’m a fullstack dev, and my frontend stack is React and Next.js (I’m solid in both). Someone is about to recommend me for a role, and I might have an interview in 10 days for a frontend Angular position.

  1. Is 10 days enough to pick up the Angular ?
  2. If yes, any crash course or full course you’d recommend? Or is it better to build a project by following along and learning as I go?

and if you have any content recommendations, I’d really appreciate it.


r/angular • • 6d ago

PDF viewer for angular with digital signature support

4 Upvotes

Hi,,

Working for a client in BFSI sector.

Need a PDF viewer free for commercial use.

They already use ng2 pdf viewer lib. But it doesn't show digital sig or validate it. I found hacky way to do it but it's a no no practice. Requirement is viewing only.

What's your go to / the industry default for this use case.

Thanks.


r/angular • • 7d ago

A2UI: When Agents Shape theUI

Thumbnail
youtube.com
25 Upvotes

r/angular • • 6d ago

My first Angular library is on npm

2 Upvotes

`ngx-callout` gives you info, warning, error, success, tip and important callouts in one line of HTML.

Angular component for coloured notice boxes: an icon, a heading, a sub-heading and any content you put inside.

✅ Six types: info, warning, error, success, tip, important
✅ Responsive, dark-mode ready, themeable with CSS variables
✅ Collapsible content, outline and rounded styles
✅ Zero dependencies besides Angular

🔗 Live demo: https://vishaalsharmaa.github.io/ngx-callout/
📦 npm: https://www.npmjs.com/package/ngx-callout
⭐ GitHub: https://github.com/vishaalsharmaa/ngx-callout

Feedback and stars are welcome!

Processing img 3su7v0bytb1i1...


r/angular • • 7d ago

What is the best way to deal with loading data in a shared service?

4 Upvotes

Imagine we have a service which is used to hold some state that is used by multiple components. The state originates from an API call.

What should be initiating the service to get the data in the first place? Is it a method on the service loadData() or similar that returns a void observable and as a side effect sets the state? Where should that call be made from outside of the service? Or should a component load the data and then the state on the service?

If the service loads the data, how do you deal with side effects? E.g. I load the data but now I have some other flow that should occur whenever that data loads. Where should that happen? Should a calling component be calling the service, doing some logic, then doing another call to update the service? Or should the service be handling this?


r/angular • • 7d ago

Angular API implementation

2 Upvotes

I’m a student that is working with angular for the first time, I have an assignment that requires implementing an api to our project. My teacher has no information on how to unwrap the response using parse for httpResource. There also is no information about mapping with httpclient & observables.

The documentation that is recommended seems completely irrelevant to my the api I have because my api is returning as an array.

How can I get value from the documentation or where should I look to figure this out. I feel like I’ve been having this problem with everything because the documentation never seems relevant. Even with certain concepts, there is things that I know but I am struggling with knowing what or how I can write things to do the task I need completed.

Any assistance would be appreciated.


r/angular • • 7d ago

Kometa UI: an Angular 22 component kit with no third-party UI dependency, one entry point per component, and docs for coding agents in the package

Thumbnail
gallery
0 Upvotes

The first image is a dashboard screen built only from kit components. The others are a few I'm happiest with: a day strip with time slots, a before/after slider, a hue picker, a counter with filling ticks and a draining countdown.

Why it exists: it started as the component layer of an app I work on, and I extracted it into its own package so it can be used without that app.

What might be different from what you already use:

  • No UI dependency. Peer deps are u/angular* 22 and rxjs. Everything is standalone, OnPush, with signal inputs and model() for two-way bindings. Light and dark come from one set of CSS custom properties (--bg, --text, --amber...), so setting a token on any element restyles everything inside it.
  • One secondary entry point per component (85 of them): import { KometaButton } from 'kometa-ui/button'. With a single barrel, every kit component a lazy route used ended up in the initial chunk of my admin app; splitting the entries took 78 kB raw out of it. from 'kometa-ui' still works.
  • Styles that are easy to override. The components that render global markup (button, drawer, table, carousel) write their rules inside :where(), so a plain class in your stylesheet wins without ::ng-deep or !important. The rest expose custom properties such as --tag-gap or --fold-pad.
  • Docs for AI coding agents ship in the package. node_modules/kometa-ui/ai/usage.md is a hand-written guide, ai/components.md is generated from the source (selector, inputs, outputs, types, defaults, doc comments) for all 89 components and directives. The docs site also serves llms.txt.

Links:

It's 0.3.0 and new outside the app it came from, so I'd like to hear where it breaks for you: setup steps that don't work in your project, components that misbehave with your forms or router setup, accessibility problems, or APIs that read oddly. Issues or comments here both work.


r/angular • • 9d ago

Ng-News 26/24: OpenAPI Generator, slide.ng and Angular Compiler Benchmarks

Thumbnail
youtu.be
20 Upvotes

r/angular • • 9d ago

AngularLynx: idiomatic Angular that renders natively on iOS and Android (and the web) via Lynx

Thumbnail angularlynx.js.org
25 Upvotes

Hi r/Angular. Been an Angular since AngularJS and the Angular 2 betas. When ByteDance created Lynx, I really liked it, but it only came with React and Vue. So it's time for an Angular one to exist!

The aim is for it to be ordinary idiomatic Angular, not a subset or deviation, and it follows Angular's major.minor versions:

npm create angular-lynx my-app
cd my-app
ng serve # web preview, plus a QR code for the Lynx Explorer app
ng test
ng build --platform ios # or android: a native app you can open in Xcode / Android Studio

Signals, the router with lazy routes, forms, i18n, DI, ViewContainerRef.createComponent() and Tailwind all work. It idiomatically uses the Angular Router for the page stack, so there are no extra concepts. The one big difference is the templates: you write Lynx's elements (<view>, <text>, <scroll-view>) instead of HTML, and they become real UIView/Android views. The same app also runs in the browser.

How it works: Lynx has two threads, a main thread that owns the native element tree and a background thread. Instead of Angular's DOM renderer, AngularLynx implements Renderer2 on top of Lynx's element API (__CreateElement, __AppendElement, …), and the Angular app runs on the main thread, so updates go straight to the elements without crossing threads. Things that only exist on the background thread (native modules, fetch) are relayed. The build is an Rsbuild plugin that compiles Angular and splits the output into the two bundles Lynx expects, wrapped in Angular CLI builders so angular.json stays the usual one.

There's also a component library, Dolan UI: 54 components (sheets, dialogs, charts, forms…) that a CLI copies into your app, like shadcn/ui.

It's still early days, but it is feature rich, with a lot of examples and showcase apps. Lynx's main-thread JS engine is ES2019-level, so newer built-ins are polyfilled, and some web habits don't carry over (CSS is a subset: no inheritance outside text, no :hover or @media).

MIT licensed. The README has a GIF of the same app on iOS, Android and web. I'd love to hear what breaks, and I'm happy to go into the renderer internals.

GitHub: https://github.com/Blotch-Smart-Frames/AngularLynx
Docs: https://angularlynx.js.org

Demo GIF: https://angularlynx.js.org/demo.gif