Components in Automad are reusable groups of blocks that let you create consistent sections across your site without having to rebuild them each time. They are ideal for content that appears on multiple pages, such as call-to-action cards, card grids, address blocks, or repeated project and product cards. Since a component is edited in one central place, every change automatically shows up wherever the component is used.
While components themselves don’t have properties or variables you can assign directly in the UI, snippets included inside a component can still access the context of the page they are used on, making them flexible in practice.
Using Components
Components are created in the dashboard under the Components page. Once created, a component can be added anywhere that blocks can be added — simply click the + icon, search for "Component", and select the one you want to insert.
Components also keep the page editor tidy: complex layouts live in one place and appear as a single block on the page.
Publishing and Nesting
Changes to components are saved as drafts, just like any other content. Note that all components are published together as one collection using the Publish button on the Components page, so publishing applies the changes of every component at once.
Components can't be nested. The Component block isn't available while editing a component, so a component can't contain another component.