Skip to main content

Button

Here are additional JSON schemas for different button configurations:

Examples

Standard contained button with primary styling.
Click to submit the form

Form Data:
{}

Field Properties

Properties used by this field (inside form field in schema)

KeyDescriptionType
nameThe unique identifier for the button control instance.string
displayNameA string that sets the display name of the button control.string
descriptionA string providing additional information or instructions about the button control.string
isDisabledA boolean indicating if the button control is disabled.boolean
htmlPropsAn object containing additional style properties for the button control.object
variantThe variant of the button (within displayProps). Defaults to "contained".string
sizeThe size of the button (within displayProps). Can be "small", "medium", or "large".string
readOnlyA readonly field is not editable and value cannot be changedboolean
classNameA 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.