John R. answered 07/04/21
Web developer for 7+ years, focus on Angular, TypeScript
I recommend using Storybook, which is a tool for viewing components individually in a sandbox environment. Storybook can be used with a monorepo tool like Lerna or Nx, where each component can be treated as its own virtual npm package (or multiple components can be grouped together as a single virtual package). This requires some setup, but the result is that you can run Storybook locally and see in your browser a library of each component rendered in isolation.