> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sirius.menu/llms.txt
> Use this file to discover all available pages before exploring further.

# Divider

> A rule across the page, with a word in the middle or nothing at all.

<a href="https://www.sentivel.com/?ref=sirius-docs" target="_blank" rel="noopener noreferrer" className="sv-banner">
  <span className="sv-banner-mark" aria-hidden="true">
    <svg viewBox="0 0 194.08 236.31" fill="currentColor">
      <path fillRule="evenodd" clipRule="evenodd" d="M181.21,89.15L137.69,99.7l21.82-14.53c15.69-10.45,26.19-27.08,28.88-45.73L194.08,0l0,0c-18.79,13.86-40.77,22.76-63.91,25.86L72.27,33.6c-23.32,3.12-44.43,16.31-56.32,36.62C6.1,87.06,2.64,107.65,7.91,128.02l1.04,4.01l48.67,5.2l0,0C30.7,143.2,10.28,165.2,6.34,192.49L0,236.31l0,0c28.49-17.35,60.53-28.03,93.73-31.26l25.54-2.48c29.96-2.91,56.12-22.72,65.53-51.32c4.42-13.44,5.16-28.26,1.36-42.96L181.21,89.15z M115.85,143l-23.2,6.02c-8.99,2.31-18.13-3.06-20.47-12.05l-5.99-23.2c-2.34-8.99,3.06-18.16,12.03-20.47l23.22-6.02c8.97-2.31,18.13,3.08,20.47,12.05l5.99,23.22C130.24,131.52,124.84,140.69,115.85,143z" />
    </svg>
  </span>

  <span className="sv-banner-copy">
    <span className="sv-banner-title">
      Sentivel
      <span className="sv-banner-badge">Endorsed by Rayfield</span>
    </span>

    <span className="sv-banner-sub">Status pages and uptime monitoring for whatever you ship. Free to start.</span>
  </span>

  <span className="sv-banner-cta">
    Take a look
    <span className="sv-banner-arrow" aria-hidden="true">→</span>
  </span>
</a>

<Note>
  Preview only. This is on the [preview channel](/rayfield-gen2/preview) and is not in the stable release. It can change or be dropped before it lands there.
</Note>

A divider breaks a page into parts without naming them the way a section does. Give it a word to sit in the middle of the rule, or drop the rule and keep only the room. A divider has no value and does not save.

```lua theme={null}
tab:CreateDivider()
tab:CreateDivider({ text = "or" })
tab:CreateDivider({ line = false, spacing = 20 })  -- room, no rule
```

## Properties

<ResponseField name="text" type="string" default="&#x22;&#x22;">
  A word in the middle of the rule. Optional.
</ResponseField>

<ResponseField name="spacing" type="number" default="12">
  Room above and below, in pixels.
</ResponseField>

<ResponseField name="line" type="boolean" default="true">
  `false` draws no rule, leaving only the room.
</ResponseField>

## Handle

<ResponseField name=".text" type="string">
  The current word. `""` when the rule carries none.
</ResponseField>

<ResponseField name="Set(text)">
  Set the word, or pass `""` to clear it and close the rule back up. It works on a divider built without one.
</ResponseField>

```lua theme={null}
local divider = tab:CreateDivider()

divider:Set("advanced")
divider:Set("")
```

<Note>
  A divider is full width. Create it on a tab or inside a column group - a row warns and returns `nil`.
</Note>
