Overview
A component is a discrete, reusable ‘chunk’ of user interface such as a button or alert banner.
Lookbook’s primary focus is on improving the developer experience of working with server-side rendered components created with frameworks such as ViewComponent or Phlex, as well as for rendering previews of regular Rails template partials.
It’s no problem to have previews for more than one type of component sitting side-by-side in your project - Lookbook will treat them all the same way.
Integrations
See the documentation below for details on using specific component types with Lookbook: