Your question is Building a Reusable Component Library. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Walk me through your process for building a reusable component library from scratch.
Describe how you would structure the library, define component and module boundaries, manage styling and state, and expose a stable API to consuming applications. Explain how you would handle dependency injection, accessibility, testing, documentation, versioning, and decisions about what belongs in the library versus an application.