# Concrete > Concrete is the framework for building, filling and publishing HomePages > property marketing templates. These are its developer docs. Every page below is also served as markdown, at `/llms.mdx.mdx` — so `/start` becomes `/llms.mdx/start.mdx`. - Start - [Start](/start): Your first ten minutes with Concrete, before you have written anything. - [What you're building](/start/what-you-are-building): Your first ten minutes, before you install anything — what a template is, who supplies its content, and what that makes your code. - [Install](/start/install): Creating a workspace — the one command that scaffolds it, the tree it leaves you, and the playground it opens on. - [Read the starter](/start/read-the-starter): Your first look at a workspace — the four files the scaffolder wrote, construct by construct. - [Add a slot](/start/add-a-slot): Adding anything to a section — the five-step loop you will run for every piece of content you ever add. - [Add a section and a page](/start/add-a-section-and-a-page): Growing past the starter — a second section, a second page, and navigation between them. - [Check, build, publish](/start/check-build-publish): Shipping — reading a check report, what the artifact holds, and the publisher key that sends it to HomePages. - Concepts - [Concepts](/concepts): Orienting before your first section — what the corpus means by a concept page. - [The pipeline](/concepts/the-pipeline): Orienting before your first section, when you want to know where a template sits between a property's facts and a page a buyer reads. - [Sections](/concepts/sections): Orienting in a section file, when you want to know what the one exported value carries and how the framework finds it. - [Slots](/concepts/slots): Deciding what a section exposes, when you are choosing between a slot and a constant in your own markup. - [Facts and provenance](/concepts/facts-and-provenance): Deciding where a value comes from, when you are choosing between a binding, a computation and a generated value. - [AI fill](/concepts/ai-fill): Deciding how a slot is filled, when you want a value the property's facts do not already hold. - [The marker contract](/concepts/the-marker-contract): Deciding what your markup owes the editor, when you are working out where a primitive goes and what it may replace. - [Server and client](/concepts/server-and-client): Anything interactive, when you need state, an event handler or a browser API inside a section. - [Pages and composition](/concepts/pages-and-composition): Laying out a template — how pages place sections, and what the framework derives from that rather than asking you to declare. - [Fixtures](/concepts/fixtures): Previewing and checking — what your template renders against before a real property exists, and why none of it can ship. - [Styling](/concepts/styling): Colour, type, spacing and fonts — where a template's design system lives now that it is CSS rather than configuration. - [Reading another section](/concepts/reading-another-section): How one section's slot follows or derives from another's — declared on the slot that depends, and settled before any renderer runs. - [The workspace and versioning](/concepts/the-workspace-and-versioning): Setting up, or a new version just shipped — what the framework reserves in your tree, and how you move across a release. - [Publishing and environments](/concepts/publishing-and-environments): Publishing, or publishing to a customer — what a publisher key decides, what the platform checks, and how a version is rolled back. - Guides - [Guides](/guides): Reaching for a recipe — what the corpus means by a guide page, and which group holds yours. - Declare slots - [Add an image slot with a crop](/guides/declare-slots/image-slot-with-crop): A photo has to land at one shape on every property, and often a different shape on a phone. - [Add a select slot](/guides/declare-slots/select-slot): A value that has to be one of a handful of keys — a listing status, an item's emphasis, an icon. - [Add an address slot](/guides/declare-slots/address-slot): A section shows where the home is — two postal lines, a short label, the city — and the parts must never disagree with each other or with the pin. - [Add a list slot](/guides/declare-slots/list-slot): A section has to hold a repeating thing — slides, features, comparable sales — and the count is the property's, not yours. - [Nest a list inside an object](/guides/declare-slots/nested-list): Each card holds a few things of its own — a unit's floor plans, each with its floor — and they belong to that card, not to the section. - [Group slots into one editor card](/guides/declare-slots/slot-group): Four slots that are really one thing — an address, a stat block — and the editor sidebar lists them as four. - [Add video, tour and document slots](/guides/declare-slots/video-tour-document-slots): The property has a walkthrough clip, a 3D tour or a brochure, and you need to know which kind holds which. - [Add points of interest](/guides/declare-slots/points-of-interest): The section has to show what is nearby — schools, transit, the coffee place — and none of it is on the property. - Source a value - [Bind a slot to a property fact](/guides/source-a-value/bind-a-property-fact): A value the property already knows — the street, the beds, the agent's name — and nobody should be typing it twice. - [Compute a value from facts](/guides/source-a-value/compute-a-value): The value you need is a function of the property's facts and no single field holds it. - [Phrasing a brief](/guides/source-a-value/phrase-a-brief): A fill's brief is the whole instruction the model is given, so what you leave out of it is a decision the model makes for you. - [Assign media by fill](/guides/source-a-value/assign-media-by-fill): A slot has to hold one of the property's own assets and you want the platform to choose which. - Add interactivity - [Add an interactive island](/guides/add-interactivity/interactive-island): A section needs state, an event handler or a browser API — and a section renderer may have none of them. - [Add a lead form](/guides/add-interactivity/lead-form): The page has to capture an enquiry — a name, an email and a message that reach the platform as a lead. - [Gate content behind the lead form](/guides/add-interactivity/gate-behind-lead-form): The brochure, the floor plans or the gallery should open only once a visitor has introduced themselves. - Preview your work - [Add a sample property](/guides/preview-your-work/add-a-sample-property): You need a second property to render against — a rental, a multi-unit building, a listing with almost no media. - [Write a fixture](/guides/preview-your-work/write-a-fixture): Your section renders empty in dev, or you need it to render the content a fill would actually produce. - [Write an edge-state fixture](/guides/preview-your-work/edge-state-fixture): The design holds on the property you built it for — and you have no idea what it does on a thin one. - [Use the playground](/guides/preview-your-work/use-the-playground): The dev server is running and you want to know what its two views are for, and which one to trust. - Compose a template - [Add a page](/guides/compose-a-template/add-a-page): One page is not enough — the listing needs a gallery, a neighbourhood page, a floor-plan page of its own. - [Share a header and footer](/guides/compose-a-template/shared-header-and-footer): Every page needs the same chrome, and the user should edit it once rather than once per page. - [Build a rendered-format template](/guides/compose-a-template/rendered-format-template): The deliverable is a deck, a social post or a print sheet rather than a website. - [Add a display variant](/guides/compose-a-template/display-variant): One section draws different fields in different cases — a description for one home, a residences table for several — and the user switches between them, starting from the case the section's own slots suggest. - [Hide a section when its data is thin](/guides/compose-a-template/visibility-rule): A section has nothing worth showing for some properties — no tour, no units, too few photos — and should disappear rather than render empty. - [Follow another section's value](/guides/compose-a-template/follow-another-section): Two sections have to agree — a footer echoing the hero, a gate printing the property's name — so one slot mirrors or derives from the other. - Organize and ship - [Define your theme tokens](/guides/organize-and-ship/theme-tokens): You have a palette, a type scale and a spacing rhythm to set up, and you are looking for the config file that does not exist. - [Ship a font with the template](/guides/organize-and-ship/ship-a-font): Your design uses a licensed or self-hosted typeface, and you need it in the template rather than on a font CDN. - [Ship a static asset](/guides/organize-and-ship/static-asset): The design calls for an image, a mark or a document the template owns — not one a property uploads — and you need it in the bundle. - [Add a third-party package](/guides/organize-and-ship/third-party-package): You want a carousel, a map or a date library, and you need to know where it may run and what it costs. - [Read a failing check](/guides/organize-and-ship/read-a-failing-check): The check came back red and you want to know which line to open first. - [Cross a major version](/guides/organize-and-ship/cross-a-major): A new major of the framework shipped and you want to know what it will rewrite before you let it. - [Publish to a customer's organization](/guides/organize-and-ship/publish-to-a-customer-org): A template belongs to one brokerage rather than to every customer, and you need it visible to them and to nobody else. - Reference - [Reference](/reference): Looking up an exact semantic — which surface page answers which question. - [template.ts](/reference/template-ts): Looking up what the one reserved file declares — identity, format, pages, canvases, preview, fixtures. - [section](/reference/section): Looking up what a section declares, what its render receives, and how the platform finds it. - [Slot builders](/reference/slot-builders): Looking up a slot's kind, its options, and what the editor and the fill do with each — and the list, object and row that shape them. - [Sources](/reference/sources): Looking up where a slot's value comes from — the fact namespace, a computation, a mirrored slot, a fill. - [Value shapes](/reference/value-shapes): Looking up what a bound slot actually holds at render — the value a binding hands your markup. - [Primitives](/reference/primitives): Rendering a bound value, marking a unit, or reaching for the marker attribute a section's own browser code reads. - [Islands](/reference/islands): Writing the client half of a section — what a `"use client"` module must declare, what its props may be, and what it may reach on a published page. - [Formats](/reference/formats): Choosing what a template produces — a website, a deck, a social image, a sheet — and what its geometry is. - [Fixtures](/reference/fixtures): Declaring the dev data `concrete dev` and `concrete check` run a template over — a property, and the content a fill would generate for it. - [Workspace](/reference/workspace): Looking up what a file in a template workspace is for, or which of the framework's subpaths a config defers to. - CLI - [Command reference](/reference/cli): Every `concrete` command, with its full flag surface, exit codes and constraints. - [concrete dev](/reference/cli/dev): The `concrete dev` command — its flags, exit codes and constraints. - [concrete check](/reference/cli/check): The `concrete check` command — its flags, exit codes and constraints. - [concrete build](/reference/cli/build): The `concrete build` command — its flags, exit codes and constraints. - [concrete upgrade](/reference/cli/upgrade): The `concrete upgrade` command — its flags, exit codes and constraints. - [concrete install](/reference/cli/install): The `concrete install` command — its flags, exit codes and constraints. - [concrete property list](/reference/cli/property-list): The `concrete property list` command — its flags, exit codes and constraints. - [concrete property add](/reference/cli/property-add): The `concrete property add` command — its flags, exit codes and constraints. - [concrete publish](/reference/cli/publish): The `concrete publish` command — its flags, exit codes and constraints. - Rules - [Rule reference](/rules): Every rule `concrete check` grades, by the stage that grades it, in the order the stages run. - workspace - [concrete/workspace/template-missing](/rules/workspace/template-missing): The workspace root has no `template.ts`. - [concrete/workspace/template-invalid](/rules/workspace/template-invalid): `template.ts` does not default-export a `defineTemplate` value. - [concrete/workspace/module-invalid](/rules/workspace/module-invalid): A workspace module fails to build or throws when it is evaluated. - [concrete/workspace/key-not-name](/rules/workspace/key-not-name): The template key is not its display name in lowercase kebab-case (`Block Website` → `block-website`). - [concrete/workspace/duplicate-section-key](/rules/workspace/duplicate-section-key): Two different exported sections declare the same key. - [concrete/workspace/crlf-text](/rules/workspace/crlf-text): A text file in the workspace has CRLF line endings, so the same commit would build a different version than an LF checkout. - [concrete/workspace/unportable-name](/rules/workspace/unportable-name): A source file name, the template key, a section key or a fixture id would not name the same file on Windows and macOS: two differ only by case or Unicode form, or one is a reserved device name (`con`, `nul`, `com1`…), ends in a dot or a space, or carries a character Windows refuses in a file name (`:`, `\`, `?`, `*`, a control character…). A key or id must also be NFC. - [concrete/workspace/duplicate-browser-file](/rules/workspace/duplicate-browser-file): Two of the build's browser files (a stylesheet, a script, an imported image or font) would have one filename. A host answers them by filename alone, and a published site keeps them in one folder. - typecheck - [concrete/typecheck/error](/rules/typecheck/error): TypeScript reports an error in a workspace module or its `tsconfig.json`. - lint - [concrete/lint/parse-error](/rules/lint/parse-error): A workspace module cannot be parsed, so no lint rule could grade it. - correctness - [concrete/correctness/no-base-to-string](/rules/correctness/no-base-to-string): No value stringifies to `[object Object]` or `[object File]`. - [concrete/correctness/restrict-template-expressions](/rules/correctness/restrict-template-expressions): A template literal interpolates only strings, numbers and booleans. - [concrete/correctness/restrict-plus-operands](/rules/correctness/restrict-plus-operands): `+` never mixes a string with a number. - [concrete/correctness/no-misused-promises](/rules/correctness/no-misused-promises): No async function is passed where a void return is expected. - [concrete/correctness/no-floating-promises](/rules/correctness/no-floating-promises): Every promise is awaited, returned or caught. - [concrete/correctness/await-thenable](/rules/correctness/await-thenable): `await` is applied only to a thenable. - [concrete/correctness/no-for-in-array](/rules/correctness/no-for-in-array): No `for...in` loop walks an array. - [concrete/correctness/no-implied-eval](/rules/correctness/no-implied-eval): No string is evaluated as code at runtime. - server - [concrete/server/no-nondeterminism](/rules/server/no-nondeterminism): Server-rendered code reads no clock and no random source. - [concrete/server/no-client-runtime](/rules/server/no-client-runtime): Server-rendered code uses no effect, state, event handler, network call or browser global. - [concrete/server/no-inline-style](/rules/server/no-inline-style): Server-rendered JSX carries no inline `style` prop. - islands - [concrete/islands/serializable-props](/rules/islands/serializable-props): Every prop written to an island is JSON-serializable. - [concrete/islands/editor-declaration](/rules/islands/editor-declaration): Every island exports a literal `editor = { live }`, and a literal `serverFrame` when it declares one. - [concrete/islands/editor-reason](/rules/islands/editor-reason): Every read of `inCanvas` that changes behavior carries an `editor-reason:` comment directly above it. - [concrete/islands/no-editor-globals](/rules/islands/no-editor-globals): No code reads the editor canvas's internal `__tr` globals. - [concrete/islands/island-ids](/rules/islands/island-ids): An island composes its own ids from `useIslandId()`, never React's `useId`, and only an island calls it. - [concrete/islands/server-frame](/rules/islands/server-frame): An island declaring `serverFrame = false` renders content on the server, which the build would delete from every published page. - slots - [concrete/slots/no-marker-literal](/rules/slots/no-marker-literal): No code writes or reads a `data-slot-*` marker; the slot primitives emit them. - [concrete/slots/no-raw-values](/rules/slots/no-raw-values): Slot values are read through bindings, never off a raw `slots` object. - style - [concrete/style/no-hard-coded-color](/rules/style/no-hard-coded-color): Colors come from the theme, not from a hex value or a color function in a class or inline style. - [concrete/style/no-px-breakpoint](/rules/style/no-px-breakpoint): An arbitrary `min-[…]:` or `max-[…]:` breakpoint is written in `rem`, never `px`. - pages - [concrete/pages/non-section-markup](/rules/pages/non-section-markup): A page emits markup that is not a section; a page may contain only sections. - [concrete/pages/section-not-exported](/rules/pages/section-not-exported): A page places a section no module exports, so the build cannot bundle it alone. - [concrete/pages/composition-invalid](/rules/pages/composition-invalid): The composition the pages place breaks a page, canvas or instance rule. - relations - [concrete/relations/section-cycle](/rules/relations/section-cycle): The placed sections read each other in a loop; a template's sections form a DAG. - [concrete/relations/unplaced-read](/rules/relations/unplaced-read): A declaration reads a section no page places, so the read resolves to no instance. - [concrete/relations/fill-reads-computed](/rules/relations/fill-reads-computed): A fill decision reads a sourced slot (a fact, a `compute()` or a mirror), which settles only after every fill has run. - [concrete/relations/mirror-type](/rules/relations/mirror-type): A slot mirroring another slot is not its upstream's kind: a value of another value kind, a row of another `from` table, or a list of another element. - css - [concrete/css/tailwind-import](/rules/css/tailwind-import): The CSS import graph of template.ts carries no `@import "tailwindcss"`, or more than one. - [concrete/css/external-url](/rules/css/external-url): A rendered template's compiled stylesheet references an external URL, which the renderer cannot reach. - [concrete/css/compile-failed](/rules/css/compile-failed): A stylesheet reachable from template.ts fails to resolve or compile, so no stylesheet rule could grade it. - logic - [concrete/logic/section-build-failed](/rules/logic/section-build-failed): A placed section's logic bundle fails to build, as when React reaches it through a compute closure. - fixtures - [concrete/fixtures/none](/rules/fixtures/none): The workspace has no fixture: template.ts names no fixture list, or the list names no content fixture; marker coverage has no input. - [concrete/fixtures/property-invalid](/rules/fixtures/property-invalid): A property fails the platform schema, references a missing file, or repeats an id within a list. - [concrete/fixtures/media-not-in-property](/rules/fixtures/media-not-in-property): A content entry references a media entry its property does not carry. - [concrete/fixtures/rows-not-in-property](/rules/fixtures/rows-not-in-property): A content entry states more rows for a directly linked list than its property carries. - [concrete/fixtures/value-invalid](/rules/fixtures/value-invalid): A content entry states a malformed date, email or phone value. - [concrete/fixtures/held-row-not-in-property](/rules/fixtures/held-row-not-in-property): A content entry holds a row its property does not carry; the slot loads empty, as a deleted row does. - [concrete/fixtures/document-invalid](/rules/fixtures/document-invalid): A fixture document does not parse, or does not match the template: an unknown key, slot or field, a value of the wrong kind, a sourced slot stated without its override mark, or one instance stated twice. - [concrete/fixtures/reference-invalid](/rules/fixtures/reference-invalid): A fixture document names a file outside its own folder, or one that does not exist. - [concrete/fixtures/instance-not-placed](/rules/fixtures/instance-not-placed): A content entry names an instance the composition does not place. - [concrete/fixtures/reachable-from-bundle](/rules/fixtures/reachable-from-bundle): A module reachable from template.ts imports a file the fixture list reaches, or the sample library. - sections - [concrete/sections/whole-table-read](/rules/sections/whole-table-read): A `compute()` reads a whole table (`fact.property.units`), which counts every member of the table as used. Where the value needs only some members, reading those columns (`fact.property.units.beds`) narrows what the template asks of a property. A hint: it never fails `check`. - [concrete/sections/row-projection-list](/rules/sections/row-projection-list): An unlocked list's `compute()` builds its items from a table's columns, losing each item's row: hold rows `from` the table, the compute returning the rows the list starts with, or declare the list `locked`. - [concrete/sections/schema-invalid](/rules/sections/schema-invalid): A section's materialized schema or fill spec fails to parse. - contract - [concrete/contract/reads-readable](/rules/contract/reads-readable): Every fact a section reads is one the fact registry declares. - [concrete/contract/decision-kind](/rules/contract/decision-kind): Every fill decision names a kind the platform runs: text, number, pick, list or display. - [concrete/contract/produces-known-slot](/rules/contract/produces-known-slot): Every fill decision produces only slots the section declares. - [concrete/contract/fill-verb](/rules/contract/fill-verb): A fill names its verb and brief, a pick names its candidates with of and no other verb takes one, and a filled list declares max. - [concrete/contract/poi-curation](/rules/contract/poi-curation): A points-of-interest curation decision produces exactly one slot, a list of points of interest. - [concrete/contract/list-fill](/rules/contract/list-fill): A list fill declares what its source needs: a brief wherever the model yields the items, a max wherever it writes rather than picks them, and nothing of the model's on a list bound to a table. - [concrete/contract/row-fill](/rules/contract/row-fill): A list fill plans only unbound fields its object item declares, each of a kind an item field can be filled with. - [concrete/contract/count-bounds](/rules/contract/count-bounds): The items a fill is asked for fit the min and max of the list that holds them, at the top level or inside an item. - [concrete/contract/cap](/rules/contract/cap): Every generated text value has one character budget, declared on its slot, and a fill cap may only be lower. - [concrete/contract/writer-reads-fact](/rules/contract/writer-reads-fact): A fill that writes text, its item fields included, reads at least one fact to ground what it writes. - [concrete/contract/display](/rules/contract/display): Display entries declare one origin and legal cases, and every slot variant gate names a declared case. - [concrete/contract/display-evidence](/rules/contract/display-evidence): A filled display entry has a declared fact read to judge its case from. - [concrete/contract/source](/rules/contract/source): Every slot and item field source names a known fact, another slot or its own compute binding; the uploads are read, never bound. - [concrete/contract/object](/rules/contract/object): An object groups value slots, rows, lists of value slots and lists of objects one level deep, holds no value of its own, is labelled by its label field, and names no field like its binding's own keys. - [concrete/contract/list-source](/rules/contract/list-source): A list's source is a list, a table, a list slot or a compute, and its item can take the source's element. - [concrete/contract/row-source](/rules/contract/row-source): A row names its table in `from`; its source is a row slot it mirrors, a compute, the element inside an item, or a pick, and is never a table or a list. - [concrete/contract/row-rule](/rules/contract/row-rule): A member is read only through a row slot or an address in scope that offers it, and fits the slot that reads it. - [concrete/contract/reads-acyclic](/rules/contract/reads-acyclic): No slot reads itself through its sources, rows and reads. - [concrete/contract/record-collection](/rules/contract/record-collection): A list bound to a fact binds a registry table and may only narrow its min and max. - [concrete/contract/nested-slot-types](/rules/contract/nested-slot-types): An object's fields, a nested list item's included, are each a value slot, a row or a list, of a kind the catalog declares. - [concrete/contract/list-scalar](/rules/contract/list-scalar): A list declares exactly one legal item, a value element, an object or a row, with satisfiable bounds. - [concrete/contract/select](/rules/contract/select): A select names its choices in exactly one place: its values, or a fact it is bound to that declares them. - [concrete/contract/url](/rules/contract/url): A url slot's accepts names a link kind or provider that a registered provider implements. - [concrete/contract/sources](/rules/contract/sources): No slot declares sources, since a media slot takes a pasted link wherever a link provider claims its kind; a media slot picks `from` a media list of the property, or owns its asset without one, and processes only what its kind takes; a slot bound to a fact states neither. - [concrete/contract/interpolation](/rules/contract/interpolation): A fill brief refers to its facts through reads and never interpolates one. - render - [concrete/render/unrenderable](/rules/render/unrenderable): A placed instance throws when it is rendered over a fixture. - [concrete/render/determinism-drift](/rules/render/determinism-drift): An instance renders different markup twice from the same input. - [concrete/render/sentinel-text](/rules/render/sentinel-text): Rendered text is `[object Object]` or a bare `null`, `undefined` or `NaN`. - [concrete/render/broken-image](/rules/render/broken-image): An `` renders with no source. - [concrete/render/unresolved-media](/rules/render/unresolved-media): A rendered fixture media URL names no file the fixture load produced. - [concrete/render/missing-slot-marker](/rules/render/missing-slot-marker): An editable slot, row or row field is never rendered as a selectable marker the editor can reach. - [concrete/render/group-ancestry](/rules/render/group-ancestry): An object's field is marked outside its own `Slot.Object`. - [concrete/render/section-root-margin](/rules/render/section-root-margin): The section root carries a margin utility, opening a gap between sections. - bundles - [concrete/bundles/build-failed](/rules/bundles/build-failed): A placed section's renderer or one of its island chunks fails to bundle, so `build` could not write it. - [concrete/bundles/renderer-size](/rules/bundles/renderer-size): A section's renderer bundle is over 300 KB gzip. - [concrete/bundles/island-size](/rules/bundles/island-size): An island chunk is over 1 MB gzip. - dependencies - [concrete/dependencies/lockfile-missing](/rules/dependencies/lockfile-missing): The workspace has no `package-lock.json`, so no dependency gate can be measured. - [concrete/dependencies/lockfile-stale](/rules/dependencies/lockfile-stale): The lockfile does not satisfy `package.json`. - [concrete/dependencies/single-react](/rules/dependencies/single-react): More than one copy of React is installed. - [concrete/dependencies/audit-severity](/rules/dependencies/audit-severity): `npm audit` reports a high or critical advisory. - [Agents](/agents): You are a coding agent about to edit a Concrete workspace — read this first.