The collection of common components for the base theme is located at /src/components/common-components. File and folders name are in lowercase letters and kebab-case (a convention that follows lowercase format with words separated by dashes) if the name has more than one word. Following is the quick overview of the common components.
ComponentPurpose
ButtonA button component with loader.
LoadingPlaceholderPlaceholder for data loading.
CustomImageAn image component.
FormCollection of form controls such as input, checkbox, radio, etc.
ModalA modal popup component.
These components are used internally by CMS Library components, and you can also utilize these components when creating your custom components. Next, let’s explore the CMS Library Components.