Skill Wiki v0.1.0
fact @community/fact-component-anatomy-three-layers

Component Anatomy Three Layers

The three-layer anatomy — container / content / interaction affordances — is a structural fact of UI components, not a design preference.…

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
4.0
Edges
3 out · 0 in
Tokens
184/218/252
$ prime install @community/fact-component-anatomy-three-layers

Projection

Always in _index.xml · the agent never has to ask for this.

ComponentAnatomyThreeLayers [fact] v1.0.0

Every UI component is structurally composed of three distinct layers: the container (layout, spacing, background), the content (label, icon, description), and the interaction affordances (tap targets, focus ring, hover state). Treating these as one undifferentiated unit causes component-level design and accessibility failures.

The three-layer anatomy — container / content / interaction affordances — is a structural fact of UI components, not a design preference. A component with a perfectly styled container and content but a missing or inaccessible interaction layer (no focus ring, insufficient tap target) is functionally broken for keyboard and touch users.

Source

prime-system/examples/frontend-design/primes/compiled/@community/fact-component-anatomy-three-layers/atom.yaml

Compiled at 2026-05-07