Divider Field
The Divider field is a simple component used to visually separate sections within a form. It enhances the form's layout by providing a clear distinction between different groups of fields or content areas.
Features
- Visual Separation: Adds a horizontal line to separate form sections.
- Visibility Control: Toggle the visibility of the divider.
- Custom Styling: Apply custom CSS classes to style the divider.
Usage
To use the Divider field, define its properties in a JSON format, specifying the visibility and any custom class names.
{
"type": "divider",
"visibility": "visible", // optional
"className": "custom-divider-class" // optional
}
This JSON structure defines a Divider field with a custom class name for styling. The visibility property controls whether the divider is displayed or hidden.