Separator

1–2 minutes
46 words

Separators are lines that group or separate lists or containers

Separator examples
  • There are three default separators styles: Default, Wide line and Dots

Block example




theme.json

  • core/separator
CategoryConfiguration
Colorbackground: Available
gradient: Available
text: —
TypographyfontSize: —
lineHeight: —
Spacingpadding: —
margin: Available
blockGap: —
Borderborder: —
radius: —
CssAvailable

Json example

"core/separator": {
    "css": "color: var(--wp--preset--color--tertiary)"
}