layout.terminal
A small agent terminal floating over an example app: the conversation and checks that produced it
Layout intents
Example
<Layout intent="layout.terminal">
…
</Layout>Choosing between neighbours
Find the row that describes your element, and use the intent on the right.
If it is
Use
A small agent terminal floating over an example app: the conversation and checks that produced it
layout.terminalthis pageA framed preview of the app itself
layout.windowAn agent terminal floating over an example app
rather thanlayout.agentlayout.terminalthis page
Connections
Declared in the registry, both directions. Where an intent is used in your own code is something check and the gallery see; this site has no app code.
- Built from
For registry authors
Starter intents. These are the intents prongs add puts in your registry, shown in this site’s theme. Yours are your own registry.ts: rename, restyle and add to them, and see them with prongs add gallery.
What this intent is built from and its entry in components/prongs/registry.ts. You only need this to change how it looks or to add an intent like it.
How layout.terminal resolves, and its definition
Each layer adds to the one before it; a later class wins over an earlier one that sets the same thing.
surface.overlayFloats over a dimmed page and starts its own stack of surfaces
surface-overlay m-auto rounded-lg border border-surface-border shadow-xl backdrop:bg-black/50
arrange.stackChildren in a column, free to shrink inside a row or grid
flex min-w-0 flex-col
layout.terminalA small agent terminal floating over an example app: the conversation and checks that produced it
relative z-30 m-3 h-80 overflow-hidden rounded-md border border-surface-border font-mono text-xs shadow-xl md:absolute md:h-72 md:right-5 md:bottom-5 md:m-0 md:w-[min(26rem,calc(100%-2.5rem))] shadow-black/[0.06] dark:shadow-black/10
surface-overlay backdrop:bg-black/50 flex min-w-0 flex-col relative z-30 m-3 h-80 overflow-hidden rounded-md border border-surface-border font-mono text-xs shadow-xl md:absolute md:h-72 md:right-5 md:bottom-5 md:m-0 md:w-[min(26rem,calc(100%-2.5rem))] shadow-black/[0.06] dark:shadow-black/10
'layout.terminal': {
kind: 'semantic',
description: 'A small agent terminal floating over an example app: the conversation and checks that produced it',
refs: ['surface.overlay', 'arrange.stack'],
binding: {
classes: 'relative z-30 m-3 h-80 overflow-hidden rounded-md border border-surface-border font-mono text-xs shadow-xl md:absolute md:h-72 md:right-5 md:bottom-5 md:m-0 md:w-[min(26rem,calc(100%-2.5rem))] shadow-black/[0.06] dark:shadow-black/10',
},
notFor: [
{
context: 'a framed preview of the app itself',
instead: 'layout.window',
},
],
},