Divider
import Divider from "@shpaw415/mui-lite/Divider";Why use it
Divider separates content groups horizontally or vertically. Use between list sections, form blocks, or inline with a label (children).
Demo
Above
Below
OR
Left
Right
Right
Example
import Divider from "@shpaw415/mui-lite/Divider";
<>
<div>Section A</div>
<Divider />
<div>Section B</div>
<Divider>OR</Divider>
</>Props
| Prop | Type | Default |
|---|---|---|
| orientation | horizontal | vertical | horizontal |
| variant | fullWidth | inset | middle | — |
| textAlign | left | center | right | center |