ng-brutalism

Neo-brutalist UI primitives and a layout grammar for Angular

Image 1 of 3: Hero composition with chunky borders, offset shadows, stickers and form primitives

Directive-first Angular 21 primitives on Tailwind CSS v4 and --nb-* tokens: a layout grammar of Surface, Section, Stack, Cluster and Split, emphasis pieces such as chips, stickers and callouts, forms, a native-dialog modal, and an ng add schematic that wires the styles in.

  • 0.5 sDocs home, desktop LCP
  • 1.9 s (from 7.0)Showcase, mobile LCP
  • 0Peer deps beyond Angular

Trade-offs

  • The dialog is the native <dialog> instead of CDK Overlay: no @angular/cdk dependency and the browser's own focus trap, with stacked and anchored dialogs out of scope.
  • Inputs carry the common design decisions, CSS variables local art direction, and classes the layout escape hatches.
  • Theme tokens can be set from TypeScript at bootstrap, while tokens outside NbThemeConfig still need a CSS override.

Q&A4

Its floor of 80 comes from Angular's total blocking time, 770 ms, which needs a framework-level change; the other pages score 98 to 100.

Reviews

Loading reviews

    More in Design systems

    See all 5 →
    • tahtaDesign system for Slidev decks: tokens, 30 layouts and 13 variants
    • melta UIDesign contracts for AI coding agents, with the linters that enforce them
    • SakaniUIToken-driven React design system built one to one from its Figma source
    • AsimonimDesign tokens parser, validator and language server in Go
    • Ely GPUI ComponentComponent library for GPUI, Zed's Rust UI framework, in light and dark

    More in Angular

    See all 4 →
    • TermexoA local workbench where one AI operates the other coding agents
    • ConfittyA visual config builder for the Kitty terminal, with a live preview
    • LanzaMetLanzarote's weather and sea in plain words, across 9 zones of the island
    • AngulariansEveryone who has contributed to Angular since 2014, ranked and updated nightly

    More in Tailwind CSS

    See all 4 →