Introduction to Components

Components are small, reusable parts on a web page - buttons, checkboxes, stickers, etc. – which are available globally, in contrast to Block templates which must be defined in each blocks template and are typically used to solve a local problem. The reason components are for the developer, is that it makes it very easy to reuse the same code chunks across all templates. It simplifies the work by supporting code hinting. 

The limitation of components is that they are specifically designed to support certain tasks. This means that sometimes when a component does not fit your needs, you will either have to simply create the custom markup needed or create a new component. 

As of Rapido 3.1+, all components available on a solution can be found by adding /components to the solution URL, loading the component documentation for your version (Figure 1.1).

Figure 1.1 Components documentation