Settings

Press Ctrl+K to preview the palette.
Sidebar
Display
Profile Panel

John Doe

Administrator
Commands
🚀
Go to Page
Navigate to a page
gg
🌓
Toggle Theme
Switch between light and dark mode
gt
📐
Toggle Sidebar
Show or hide the sidebar
gb
⚙️
Open Settings
Open the settings panel
gs
Search In
📄
Pages
Search pages
:p
🧩
Components
Search component pages
:c

A responsive form that adapts to its own width, not the viewport. <ContainerBreakpoint> maps the container's inline size to a named mode (compact / comfy / wide); <Breaker> shows or hides secondary fields per mode while keeping them mounted, so field state survives a resize. Drag the splitter / resize the window and watch fields appear and disappear.

New contact

Current mode: comfy
Only shown when the form has room to breathe.

Usage

Container-aware field folding

<ContainerBreakpoint steps={{ compact: 0, comfy: 34, wide: 64 }} initial="comfy">
  {#snippet children({ mode })}
    <FormGroup> …essentials, always visible… </FormGroup>

    <Breaker {mode} show="comfy wide">
      <FormGroup> …secondary fields… </FormGroup>
    </Breaker>

    <Breaker {mode} show="wide">
      <FormGroup> …tertiary fields… </FormGroup>
    </Breaker>
  {/snippet}
</ContainerBreakpoint>

Keyboard Shortcuts

No shortcuts registered.