Skip to content

Divider

The Divider component is used to visually separate sections of content or layouts. It provides a clean, minimal way to organize information into distinct groups, helping improve readability and structure.

Example

Below is an example of the divider component.

Props

PropertyTypeDefaultDescription
visiblebooleantrueControls whether the divider is visible.
positionnumber[]0 0 0Sets the divider’s position in 3D space.
opacitynumber1Specifies the opacity of the component.
colorstring (blue, #fff)#545454Defines the color of the divider.
lengthenum (small, medium, large) or numbermediumSpecifies the length of the divider. You can use one of the predefined sizes (small, medium, or large) or provide a custom numeric value. The default unit is meters.
thicknessnumber0Specifies the thickness of the divider in meters. If set to 0, a default thickness is applied based on the current length value.
verticalbooleanfalseWhen set to true, displays divider vertically.