Formulario adaptable

The form is the breakpoint container; each field group is a <.breaker> that declares the modes it survives in. As the card narrows it sheds optional fields down to the essentials. Notice the call site below has no data-pc-show / .d-none — the components emit that. Drag the slider (or open this on a phone).

Ancho de la tarjeta 520px
Nuevo contacto
Only you and your team can see this.
Widen this panel to add phone, company, and notes.
How it's wired. <.breakpoint_container steps=… initial=…> measures its own width and names a mode (compact / comfy / wide); each <.breaker show="…"> appears only in the listed modes (it emits data-pc-show, the engine toggles the shared .d-none). Thresholds are rem — root 10px, so 34 = 340px and 64 = 640px. The two-up row uses the reflected [data-mode="wide"], since this keys off the card's own width, not the viewport.

John Doe

Administrator

Configuración

Press Ctrl+K to preview the palette.
Sidebar
Display
Profile Panel
Body text size. All elements scale proportionally.
Comandos
🚀
Desplegar a entorno
Desplegar una rama a un entorno
g d
👤
Asignar a usuario
Asignar un elemento a un miembro del equipo
g a
🧭
Ir a la página
Navegar a una página
g g
🎨
Cambiar tema
Cambiar el tema visual
g t
Buscar
📦
Productos
Buscar productos
:products
📋
Pedidos
Buscar pedidos
:orders
👥
Usuarios
Buscar usuarios
:users
🧾
Facturas
Buscar facturas
:invoices