Divider Schema
Last updated
Was this helpful?
Last updated
Was this helpful?
Schemas are structured definitions that describe the format, rules, and relationships of data within a system. They ensure consistency and validate inputs. In Beefree SDK, the Simple Divider Schema defines visual divider elements, used to create separation between blocks of content. Dividers are available only within row addons, including mixed and custom rows (not as standalone content blocks). This documentation breaks down the schema’s properties, configuration rules, and practical usage to help you effectively implement dividers into your layout system.
Reference the for more information.
This section summarizes the purpose and key characteristics of the Simple Divider Schema.
Schema Name: Simple Divider
Purpose: Renders a horizontal visual divider with customizable size, color, and spacing.
Restrictions: Can only be used in row addons, mixed rows, or custom rows. Not supported as a standalone content addon.
Related Schemas:
definitions.schema.json
(for padding definitions)
Below is the JSON Schema definition and a detailed breakdown of each property.
The following table lists the field descriptions along with their corresponding data type, whether or not they are mandatory, and their description.
color
string
The color of the divider
height
integer
The height of the divider (1-30)
width
integer
The width of the divider (1-100)
padding-top
integer
The top padding of the divider
padding-right
integer
The right padding of the divider
padding-bottom
integer
The bottom padding of the divider
padding-left
integer
The left padding of the divider
locked
boolean
Whether the module is locked
customFields
object
Custom fields for the divider
Reference an example of the schema in the following code snippet.
Consider the following when working with the Simple Divider Schema in Beefree SDK:
Responsiveness: Use percentage-based widths to ensure adaptive layout behavior across devices.
Design Consistency: Apply consistent height and color to create visual rhythm in your layout.
Extensibility: Use customFields
for non-standard properties.
No
No
No
No
No
No
No
No
No