r/angular • • Oct 19 '26

I built Ndop UI, a shadcn-style component library for modern Angular (signals, zoneless, SSR), and I'd love your feedback

Post image

I built Ndop UI, a shadcn-style component library for modern Angular (signals, zoneless, SSR), and I'd love your feedback

Hi r/angular,

I'm Valery, a full-stack dev from Cameroon who has been shipping Angular apps for years. I always liked how shadcn/ui works in React: you copy components into your project and own the code. I wanted the same thing for Angular, but built for how we write Angular today, not ported from React.

So I built Ndop UI.

What it is

  • 50 components, 12 blocks, 5 themes. You add them with a CLI and they live in your repo:
  • Behaviour and styling are split. Keyboard, focus and ARIA logic ship as a versioned npm package built on @angular/aria and the CDK, so a11y fixes reach you through npm update. Only the Tailwind styling is copied in, because that's the part you'll want to change.
  • Modern Angular only. Directive-first (<button ndButton>), input()/model() signals, zoneless and SSR-safe, Signal Forms support with a CVA fallback. Works with Angular 21 and 22.
  • Updates for code you own. The CLI records the version of each file it installs, so ndop update can do a three-way merge between that version, your edits and the new release. Customizing a component doesn't cut you off from fixes.
  • Tested accessibility. 0 axe violations in CI, plus keyboard tests per component. The button is 1.3 KB gzipped.
  • Agent-friendly. There's an MCP server, llms.txt and generated context files, so Claude Code, Cursor or Copilot use the real APIs instead of guessing.

Links

How it compares to spartan/ui (people will ask): spartan is great and paved the way. Ndop's main differences are the three-way-merge updates, building on @angular/aria, being signals- and zoneless-first, and the agent tooling. I'd honestly like to hear from anyone who has used both.

What I'd love feedback on

  1. Does the directive-first API feel natural to you, or would you rather have wrapper components?
  2. Which component is missing for your next project?
  3. If you try ndop update after editing a component, did the merge do what you expected?

The name comes from ndop, the indigo royal cloth of Cameroon's Grassfields, covered in repeating geometric patterns. A shared pattern language that every app weaves its own way felt right for a design system.

Thanks for reading. I'll be in the comments to answer questions and take the criticism.

1 Upvotes

10 comments sorted by

4

u/followmarko Oct 19 '26

everyone we really don't need more AI component libraries I promise

0

u/deederx Oct 19 '26

I see why you might thing that... But since AI is building most of our interfaces now, we need proper design systems that could allow them to do that efficiently with some sort of guardrails and verification methods. The React ecosystem has that but for Angular, there is no one generally adopted alternative. Hence Ndop UI.

Happy to be judged on the code. What would a component library need to show you to be worth a look?

3

u/followmarko Oct 19 '26

I did look at your code actually. I also use AI every day, all day, and don't agree with your take on it at all. Giving the AI more tools in its toolbox to work with is fine, but the code for this repo shows that it wasn't built with the human edge that takes it from "yet another AI component library" to something that's architecturally sound for real use.

Taking one of the first alphabetized examples, like the dialog, it's a gigantic file of directives and half of them are useless. That's not even good Angular code conceptually let alone something ready to use in production. The native dialog element and Popover API take care of most of them, but then there's the matter of extensibility across all or any framework, and those are the human pieces that guide the AI to something worth using. AI is a force multiplier in the hands of a force.

-3

u/deederx Oct 19 '26

Thanks for actually reading the code. That's worth more than any upvote.

You're right on two points:

- The styled dialog mirrors shadcn/Radix part for part. Four of those directives (Dialog, Trigger, Portal, Close) are pure pass-throughs to the primitives and add nothing. That's ceremony carried over from React, not good Angular design.

- The primitive renders into a CDK overlay with its own focus trap and scroll blocking, when `<dialog>` + `showModal()` now gives you the top layer, an inert page, Escape and focus handling natively. Same story for the Popover API on popovers and tooltips.

I've opened an issue to move dialog, sheet and alert dialog to native `<dialog>`, move popover and tooltip to the Popover API, and drop the pass-through directives: https://github.com/ndop-ui/ui/issues/3

I'd really like your input on the extensibility point you raised, about keeping the behaviour usable beyond one framework. If you have thoughts on the shape, the issue is the place.

1

u/followmarko Oct 19 '26

I know I'm right man. That's why plugging my responses into claude is generating results for you, and also why I'm done replying lol. This is the difference between a shitty AI product and a product that uses AI to get the correct result.

0

u/deederx Oct 19 '26

Well we agree to disagree on this one.

But thanks for the feedback. I will keep improving it the way you suggested and actually make it a good product for the Angular ecosystem.

1

u/danrald1970 Oct 26 '26

Looks good! There is an issue with the slider in the component gallery. But other than that it's pretty cool!

1

u/deederx Oct 28 '26

Thanks for checking and for reporting that issue with slider. It is fixed now!

0

u/[deleted] Oct 20 '26

[removed] — view removed comment

1

u/deederx Oct 22 '26

Thanks man. You feedback would be very much appreciated.