Divider

A divider separates sections of content or groups.

Usage

Orientation

A divider can have two orientations: horizontal or vertical.

Props

style?

The inline style for the element.

orientation?

The orientation of the separator.

Defaults to 'horizontal'.
elementType?

The HTML element type that will be used to render the separator.

id?

The element's unique identifier. See MDN.

className?

The CSS className for the element.

Migration Notes

Coming from Orbiter, you should be aware of the following changes:

  • Children is not supported.