Button
Here are additional JSON schemas for different button configurations:
Examples
Standard contained button with primary styling.
Form Data:
{}Field Properties
Properties used by this field (inside form field in schema)
| Key | Description | Type |
|---|---|---|
| name | The unique identifier for the button control instance. | string |
| displayName | A string that sets the display name of the button control. | string |
| description | A string providing additional information or instructions about the button control. | string |
| isDisabled | A boolean indicating if the button control is disabled. | boolean |
| htmlProps | An object containing additional style properties for the button control. | object |
| variant | The variant of the button (within displayProps). Defaults to "contained". | string |
| size | The size of the button (within displayProps). Can be "small", "medium", or "large". | string |
| readOnly | A readonly field is not editable and value cannot be changed | boolean |
| className | A string to add custom class names for styling. | string |
These schemas provide a variety of button configurations that you can use in different scenarios in your application.