View source ↗
Comptime slots
A comptime component can take markup through zx.Component.Slot props. The component is built at compile time; each render copies only the path to the slot.
Runtime children
Rendered for /examples/comptime/slot.
Named slots
Named slot: left
Named slot: right
Comptime children
Built entirely at compile time.