React/UI component architecture patterns
Split a monolithic component into cooperating children that share implicit state, giving consumers layout control without exposing internals.
Build complex components by composing small, single-responsibility primitives rather than extending a monolithic base.