Site color

Choose your site’s color palette.

Saved on this device.

FormDivider

FormDividerVisual separation

Make alternatives easier to scan. A quiet divider with an optional label between related form paths.

Forms & input

Separate two routes

Keep the label short and give each route a clear purpose.

FormDivider in contextCOMPOSITION

Choose a component guide to continue.

Native input
Input with suggestions

A divider provides visual structure; nearby text and controls describe the alternatives.

<Panel bodyClass="p-4">
  <p>Choose a component guide to continue.</p>
  <BtnLink href="/components/forms/form-input-field/" tone="accent">Native input</BtnLink>
  <FormDivider label="or" />
  <BtnLink href="/components/forms/auto-complete-input/" variant="outline">
    Input with suggestions
  </BtnLink>
</Panel>

An unlabelled divider

Omit label when a simple visual break is enough.

Primary details

Supporting information

<div>
  <p>Primary details</p>
  <FormDivider />
  <p>Supporting information</p>
</div>

Labelled and unlabelled separators

The optional label is visual content in the divider. Use ordinary nearby text to explain alternatives, since the line is not a semantic section heading.

Labelled and unlabelled separatorsCOMPOSITION
Short label

Continue with a project

Read the getting-started guide

Descriptive label

Use your existing workspace

Create a new workspace

No label

Contact details

Project details

Compare all values together. Use the live examples for application state and event handling.

Behavior and accessibility

The label is rendered through a data attribute and CSS. Do not use it as the only accessible explanation of the available choices. Keep the real controls labelled clearly.

API reference

FormDivider contract

Props below are the public template API. RefOrValue accepts a literal or a reactive ref; bind refs with a colon-prefixed attribute. Native attributes and events can be passed through the component root.

label

RefOrValue<string>
Default
not set

Optional short visual label placed in the divider.

Composition

No slots or events. Root is div.form-block__divider. Register defineFormComponents.