Role of Theme Components in Base Theme
They serve as the building blocks for creating sections and pages within the theme. The base theme typically includes default components such as image fields, text fields, forms, and carousels, which can be used out-of-the-box to construct different sections or pages.Types of Theme Components
- Default Components
- Custom Components
You are going to see theIn addition to these components, you will also find header and footer components. You can view the complete list of available components in theindex.tsfile in each of the component folders. We useindex.tsas an entry point to export something.
src/components/index.ts file.
You are not limited to the set of components provided by the base theme. You can easily create custom component to fulfill your specific requirements, and also register these components as draggable within the Panel.
Custom components enable you to extend the functionality and appearance of the base theme, allowing you to tailor it to your specific needs. These custom components can be designed and developed to complement the existing default components, offering enhanced flexibility and versatility for creating unique sections and pages within the base theme.
Let’s take a look at common components and see what is provided by the base them for you to utilize.