1 | |
A rule for separating content. Horizontal is plain by default, or has a tertiary label set to the left, middle, or right — the line fills the remaining space on either side. A plain vertical orientation fills its container's supplied height.
| Prop | Type | Default |
|---|---|---|
label
Optional label text; also accepts a content block. When blank, or when vertical, the divider is a plain line.
|
String | nil |
orientation
One of ORIENTATIONS — horizontal or vertical.
|
String | "horizontal" |
position
One of POSITIONS — where the label sits: left · middle · right. Ignored when plain or vertical.
|
String | "middle" |
**html_options
Any extra HTML attributes (id, class, data-*, …).
|
Hash | — |