Docs

Divider

A horizontal line, optionally with a label or an icon in the middle.

On this page

The Divider widget draws a horizontal line between pieces of content. It can be solid, dashed, dotted or double, shorter than its container, and carry a short text or an icon in the middle, such as “or” between two options.

Three dividers: a plain line, a dashed line with the text “Or visit the studio” and a shorter line with a leaf icon in the middle
A plain divider, one with text and one with an icon.

Add a divider

  1. Insert it

    Open Insert in the left panel, find Divider under Basic (or type divider in Search widgets) and click it or drag it onto the canvas.

  2. Choose the line

    Pick a Style and a Width; with a width below 100%, use Alignment to place it.

  3. Add text or an icon

    Set Add element to Text or Icon and fill in the text or pick the icon.

  4. Adjust color and spacing

    On the Design tab, set the line Color, Weight and the Vertical spacing above and below it.

Settings

Settings marked Per device can differ on desktop, tablet and mobile (see Responsive editing).

Content tab

Divider
SettingWhat it does
StyleThe line style. Options: Solid, Dashed, Dotted, Double. Default: Solid.
WidthLength of the line, in % of the container or in px. Per device.
AlignmentAligns a line that is shorter than its container. Options: Left, Center, Right. Per device.
Add elementAdds text or an icon in the middle of the line. Options: None, Text, Icon.
TextThe text in the middle of the line. Shown when Add element is Text.
IconThe icon in the middle of the line. Shown when Add element is Icon.

Design tab

Divider
SettingWhat it does
ColorColor of the line.
WeightThickness of the line. Per device.
Vertical spacingSpace above and below the line. Per device.
Text typographyText style or font, size, weight and spacing of the text. Shown when Add element is Text.
Text / icon colorColor of the text or icon. Shown when Add element is set.
Element spacingSpace between the line and the text or icon. Shown when Add element is set.
Shared Design sections

Every element also has these sections at the end of the Design tab.

SectionWhat it does
Spacing & positionMargin, padding, width, alignment in its container, order, position (relative, absolute, fixed), offsets, z-index and global classes. See Spacing, size & position.
Background & borderBackground, border, border radius, box shadow, overflow and opacity of the whole element. See Colors & backgrounds and Borders & shadows.
MaskCrops the element to a shape (circle, arch, blob, star…) or your own SVG or PNG. See Shape dividers & masks.

Behaviour tab

Behaviour sections

The Behaviour tab is the same for every element.

SectionWhat it does
Anchor & classesAn Anchor ID for #links and your own CSS classes.
AnimationsEntrance, scroll, hover and loop animations from presets or your own timeline. See Motion & effects.
Motion & effectsA simple entrance animation, transforms (also on hover), CSS and backdrop filters, and sticky positioning.
Scroll & mouse effectsMovement, rotation, scale, fade and blur while the page scrolls, and pointer effects (follow the pointer, 3D tilt).
VisibilityHide the element on desktop, tablet or mobile, or in dark or light mode. See Visibility.
ConditionsShow the element only when rules match, such as logged-in visitors, a date range or a URL parameter. See Display conditions.
InteractionsShow, hide or change other elements when this one is clicked, hovered or scrolled into view. See Interactions.
AttributesCustom HTML attributes for this element. See Anchor, classes & attributes.

Tips

  • Structure first. A divider is decoration. To separate sections, alternating section backgrounds or more spacing often looks cleaner.
  • Borders instead. To underline a heading or separate cards, a border on the container (Design → Border & shadow) can be simpler than an extra widget.