Legacy components overview

This is our old model for creating components.

Legacy Components
You are reading the legacy components documentation. Please refer to the new documentation for the latest components.

Components are a way to organize your code in reusable blocks. Unlike snippets, when you change the component file, it will change in all places it has been used.

You can create attributes, use conditional statements, and loop over data to create complex variants. You can even use data from external data sources to use inside your components.

Let's dive into it!