[data-reveal]{opacity:1!important;transform:none!important}
Placeholder
Components

Placeholder

A dashed box standing in for a block that does not exist yet, to block out a layout.

Placeholder draws a dashed, patterned box with its label centered. It fetches nothing: use it to block out a layout before the real blocks exist, then swap each one for its real builder.

PlaceholderPlaceholder
Connecting to the DMS preview…
ConnectingDMS 0.9.52 options set

Usage

src/pages/scaffold.ts
import { Placeholder } from "@antelopejs/interface-dms/base/placeholder";

static chart = Placeholder({ label: "Revenue chart", height: "240px" });

Options

Options of the Placeholder block
OptionTypeDefaultDescription
labelContentstring–Text shown inside the box.

Without height, the box fills its grid cell; without width, it fills its column.

Next steps

Layout & containers

Block out a whole screen with placeholders.

Design fidelity

Map a mockup onto DMS blocks, one component at a time.