# `LedgerUI.Components.Divider`
[🔗](https://github.com/devaction-labs/ledger_ui/blob/v0.2.0/lib/ledger_ui/components/divider.ex#L1)

A 1px separator in the `line` colour, horizontal or vertical, with optional centred or
left-aligned text.

    <.divider />
    <.divider>ou continue com</.divider>
    <.divider align="left">Entrega</.divider>
    <div class="lu-row"><span>Day</span><.divider orientation="vertical" /><span>Month</span></div>

A horizontal divider without text is an `<hr class="lu-sep">`. With text it is a row of two
lines around the text (`align="center"`) or the text followed by one line (`align="left"`),
the text being a small uppercase label. A vertical divider is a 1px column, 18px high unless
you pass `style="height:40px"` (or a class).

# `divider`

## Attributes

* `orientation` (`:string`) - Defaults to `"horizontal"`. Must be one of `"horizontal"`, or `"vertical"`.
* `align` (`:string`) - Where a horizontal divider's text sits. Defaults to `"center"`. Must be one of `"center"`, or `"left"`.
* `label` (`:string`) - The text, as an attribute instead of the inner block. Defaults to `nil`.
* `class` (`:any`) - Defaults to `nil`.
* `style` (`:string`) - Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
