WireScript
Components

slot

Layout placeholder for screen content.

A placeholder element used in layouts to mark where screen content should be inserted.

Usage

(layout my-layout
  (header (text "Header"))
  (slot)
  (footer (text "Footer")))

How It Works

When a screen uses a layout, the screen's content replaces the (slot) element:

Examples

Basic Layout

Dashboard Layout

See Also

On this page