Prefab Homes
Import the Prefab Homes design and it brings blocks and content types of its own, on top of the main Canvas library. Read this page when you are working on a site built from Prefab Homes and meet a block you cannot find in the main reference.
These items stay registered on every site so that content you have already imported keeps rendering, and they appear in the block inserter only where the design is in use.
Blocks this design adds
Configurator Option
canvas-core/prefab-option
One selectable card in the home configurator: a footprint, a finish or an add-on, with the preview picture shown when it is picked. In the block inserter it is named Configurator Option.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Content
Option TypeDefaultFootprint (step 1)
Which configurator step the card belongs to. It decides what the live preview shows when a visitor picks the card.
ChoicesFootprint (step 1)Finish (step 2)Add-on (step 3)
Option KeyDefaultEmpty
A short unique name for the option, e.g. "standard" or "sauna".
LabelDefaultEmpty
The option name on the card.
Sub LineDefaultEmpty
The small line under the name: the size, a material note or the price.
Preview ImageDefault
0Shown in the live preview when a visitor picks this card.
Floor AreaDefaultEmpty
Footprint only. Square metres followed by "m2", e.g. "108m2"; it also sets the build-time estimate.
Shown when Option Type is "Footprint (step 1)"
Floor Area Shown in the PreviewDefaultEmpty
Footprint only. The figure the preview prints when this card is picked, e.g. "1,163 sq ft". Empty uses the floor area.
Shown when Option Type is "Footprint (step 1)"
Finish Name in the PreviewDefaultEmpty
Finish only. The name the preview prints when this card is picked.
Shown when Option Type is "Finish (step 2)"
PriceDefaultEmpty
Add-on only. The price the add-on adds, e.g. "+$18k".
Shown when Option Type is "Add-on (step 3)"
IconDefaultEmpty
Icon class for the badge, e.g. "bi-house". Leave empty to show a colour swatch instead.
Swatch ColourDefaultEmpty
Used when the card has no icon: the round sample of the finish colour.
Outline the SwatchDefaultOff
A thin edge for a swatch that is close to the page colour.
Selected When the Page LoadsDefaultOff
Marks the card as already chosen. In the footprint and finish steps keep one card selected.

