In the base theme, components are considered as basic building blocks that can represent different UI elements such as banners, carousels, and more. Each component in the base theme has its own dedicated component file to encapsulate its functionality and styling. By organizing components into separate files, it allows for modularity and reusability within the theme development process.
In the context of the base theme, widgets refer to the icons displayed in the right sidebar when the UI Builder is opened. These widgets are associated with the components created in the
cms-library directory of the base theme. Each widget represents a specific component and allows users to drag and drop that component onto the page being edited in the UI Builder. The widgets provide a visual representation of the available components and facilitate the process of adding components to the page layout.