# Assembly Composition

> In the app layer, compose views from structural containers and arrange their children with flex or grid and token-valued gaps, pad each container once so its children are full-width and fill the padded box, forbid horizontal margins, and never set or override any element's or component's look.

Record: `algorithms:assembly-composition`
Kind: algorithm
Canonical: https://banes-lab.com/ontology/algorithms#algorithms-assembly-composition
Closure: https://banes-lab.com/json/records/algorithms/assembly-composition/closure

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [Placement Isolation](https://banes-lab.com/records/algorithms/placement-isolation.md) and before [Layer Fitness Enforcement](https://banes-lab.com/records/algorithms/layer-fitness-enforcement.md).

## Domain

- [CSS cascade](https://banes-lab.com/records/algorithms-domain/css-cascade.md)

## Tier

- [leaf](https://banes-lab.com/records/vocabulary/domain-tier-leaf.md)

## Composes

- [Responsibility Boundary](https://banes-lab.com/records/algorithms/responsibility-boundary.md)

## Composed by

- [CSS Type-Cascade Kernel](https://banes-lab.com/records/algorithms/css-type-cascade-concern.md)

## Math type

- [Algebra](https://banes-lab.com/records/reasoning/math-type-algebra.md)

## Force

- [Modularity](https://banes-lab.com/records/force/modularity.md)

## Linked from

- [Architecture](https://banes-lab.com/ontology/algorithms/algorithms-domain-architecture.md)
- [CSS cascade](https://banes-lab.com/ontology/algorithms/algorithms-domain-css-cascade.md)
- [The mathematics](https://banes-lab.com/ontology/reasoning/the-mathematics.md)
- [Domain tiers](https://banes-lab.com/ontology/schema/the-vocabulary-domain-tier.md)
- [The forces](https://banes-lab.com/ontology/schema/the-forces.md)
