Anarchitecture Bricks Docs

Repository documentation hub for packages, guides, and generated references.

@anarchitects/common-angular-ui-composition

Shared UI composition contracts for Angular bricks.

This package defines stable composition conventions between primitives, domain UI components, and upcoming layout infrastructure.

Features

Installation

npm install @anarchitects/common-angular-ui-composition
# or
yarn add @anarchitects/common-angular-ui-composition

Entry points

Composition model

Canonical slot usage

<anarchitects-ui-card>
  <div anxSlot="header">Title</div>
  <p anxSlot="content">Body</p>
  <div anxSlot="footer">Actions</div>
</anarchitects-ui-card>

Template usage

<ng-template anxTemplate="item" let-item>{{ item.name }}</ng-template> <ng-template anxTemplate="empty">No items</ng-template>

Usage

Use composition contracts inside domain UI components and shared primitives to keep projection APIs stable while allowing app-level template customisation.

Development notes

Source Links