AI-native design editor. Open-source Figma alternative.
title: PropertyGrid description: Headless field-grid and action-rail anatomy for property panels.
PropertyGrid
PropertyGridRoot separates responsive property fields from optional intrinsic-width actions. It exposes structural data attributes without imposing column widths, gaps, or presentation.
<script setup lang="ts">
import { PropertyGridRoot } from '@open-pencil/vue/primitives/PropertyGrid'
</script>
<template>
<PropertyGridRoot :columns="2">
<label>
Width
<input type="number" />
</label>
<label>
Height
<input type="number" />
</label>
<template #actions>
<button type="button" aria-label="Constrain proportions">Link</button>
</template>
</PropertyGridRoot>
</template>
Themes can target data-slot="fields", data-slot="actions", data-columns, and data-distribution. The wide-first distribution is semantic; consumers choose its exact ratio.