Skip to main content
Built-in Elements

<systemblock.page />

systemblock.page contains one system block diagram. It can stand alone or appear inside a board or subcircuit. Each page has its own layout and name scope.

System block diagram
import { systemblock } from "tscircuit"

export default () => (
<systemblock.page
name="overview"
displayName="Wireless sensor node"
direction="down"
>
<systemblock.component name="sensor" displayName="Environment sensor" />
<systemblock.component name="mcu" displayName="Microcontroller" />
<systemblock.connection
from="sensor"
to="mcu"
label="I2C"
direction="both"
/>
</systemblock.page>
)

For a rendered example and SVG export, see the system block diagrams guide.

Page properties​

PropertyDescription
nameRequired page name; must be unique across the circuit.
displayNameVisible label; defaults to name.
descriptionDescription of the page's purpose.
directionLayout direction: right (default), left, down, or up.
childrenSystem block components, groups, and connections.

Pages cannot be nested. Core resolves block sizes, positions, connection routes, and label positions automatically.

Components and groups share a name scope across the entire page, including nested groups. Connections refer to component names on that page.

See systemblock.component, systemblock.group, and systemblock.connection for their properties.