ZUI

Search documentation

Find a page or a heading.

Panel Field Group

The tight grid for paired and triplet inputs in a property panel, with any number of columns.

tsx

Installation

bash

Usage

tsx
tsx

Omit cols for one column, or pass a grid-cols-* class directly, which replaces the template. Use it for paired or tripled inputs (X + Y, W + H) in a property panel; for a single row that also needs a trailing action, wrap it in Panel Row instead.

API reference

PanelFieldGroup

Renders a div and takes every prop a div takes, plus:

Column count, written to the --cols CSS variable the grid template reads, so a count known only at runtime (cols={axes.length}) works. Omit it for one column, or pass a grid-cols-* class, which replaces the template. It sets data-slot="panel-field-group".