---
tags: [gradio-custom-component, ui, form, settings, dataclass]
title: gradio_propertysheet
short_description: Property Sheet Component for Gradio
colorFrom: blue
colorTo: green
sdk: gradio
pinned: true
app_file: space.py
---
# `gradio_propertysheet`
name | type | default | description |
---|---|---|---|
value |
```python typing.Optional[typing.Any][Any, None] ``` | None |
The initial dataclass instance to render. |
label |
```python str | None ``` | None |
The main label for the component, displayed in the accordion header. |
root_label |
```python str ``` | "General" |
The label for the root group of properties. |
show_group_name_only_one |
```python bool ``` | True |
If True, only the group name is shown when there is a single group. |
root_properties_first |
```python bool ``` | True |
If True (default), root-level properties are rendered before nested groups. If False, they are rendered after. |
disable_accordion |
```python bool ``` | False |
If True, disables the accordion functionality. |
visible |
```python bool ``` | True |
If False, the component will be hidden. |
open |
```python bool ``` | True |
If False, the accordion will be collapsed by default. |
elem_id |
```python str | None ``` | None |
An optional string that is assigned as the id of this component in the DOM. |
scale |
```python int | None ``` | None |
The relative size of the component in its container. |
width |
```python int | str | None ``` | None |
The width of the component in pixels. |
height |
```python int | str | None ``` | None |
The maximum height of the component's content area in pixels before scrolling. |
min_width |
```python int | None ``` | None |
The minimum width of the component in pixels. |
container |
```python bool ``` | True |
If True, wraps the component in a container with a background. |
elem_classes |
```python list[str] | str | None ``` | None |
An optional list of strings that are assigned as the classes of this component in the DOM. |